summaryrefslogtreecommitdiff
path: root/notes-utils.h
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2016-05-24 08:10:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-06-01 17:10:16 (GMT)
commit885eefb12d35e416e637a92d8a6e7ac17eefd5cc (patch)
treeea3b05ce6bb424edacfb4df4ad18c1966a5d9661 /notes-utils.h
parent6ca4c390933597f20db006445e844797ca7cd2c9 (diff)
downloadgit-885eefb12d35e416e637a92d8a6e7ac17eefd5cc.zip
git-885eefb12d35e416e637a92d8a6e7ac17eefd5cc.tar.gz
git-885eefb12d35e416e637a92d8a6e7ac17eefd5cc.tar.bz2
builtin/apply: move 'cached' global into 'struct apply_state'
To libify the apply functionality the 'cached' variable should not be static and global to the file. Let's move it into 'struct apply_state'. Reviewed-by: Stefan Beller <sbeller@google.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-utils.h')
0 files changed, 0 insertions, 0 deletions