summaryrefslogtreecommitdiff
path: root/merge-tree.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2006-05-19 09:56:35 -0700
committerJunio C Hamano <junkio@cox.net>2006-05-19 15:59:18 -0700
commit405e5b2fe0cf20b0eea41ca892f416c218b49f59 (patch)
tree0e211548f57590d05eab3d266584c7cad26794bc /merge-tree.c
parentc3c8835fbb182d971d71939b9a3ec7c8b86d6caf (diff)
downloadgit-405e5b2fe0cf20b0eea41ca892f416c218b49f59.tar.gz
Libify the index refresh logic
This cleans up and libifies the "git update-index --[really-]refresh" functionality. This will be eventually required for eventually doing the "commit" and "status" commands as built-ins. It really just moves "refresh_index()" from update-index.c to read-cache.c, but it also has to change the calling convention so that the function uses a "unsigned int flags" argument instead of various static flags variables for passing down the information about whether to be quiet or not, and allow unmerged entries etc. That actually cleans up update-index.c too, since it turns out that all those flags were really specific to that one function of the index update, so they shouldn't have had file-scope visibility even before. Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'merge-tree.c')
0 files changed, 0 insertions, 0 deletions