summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-22 11:45:15 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-22 11:45:15 (GMT)
commit4f692b19788364ed0bd65983579edcd6e5444f2b (patch)
tree3d3d78c2e975724c8fc5517b3b9a243a000a53ba /diff.c
parent6b32884a09e4b51e60819351200a5b10d9dc053b (diff)
downloadgit-4f692b19788364ed0bd65983579edcd6e5444f2b.zip
git-4f692b19788364ed0bd65983579edcd6e5444f2b.tar.gz
git-4f692b19788364ed0bd65983579edcd6e5444f2b.tar.bz2
Allow git-merge not to commit.
Martin Langhoff wants to use git-merge from outside git-pull and wants to do further processing; for this, he wants git-merge no to commit even when it cleanly merges. I think other script writers would want something like that as well, so here it is. Instead of the "merge commit message" parameter (which usually is made for you by "git-pull" which calls this command), you pass an empty string to it. Then it will not update your HEAD -- you can do whatever you want with the resulting index file, which contains the merge results. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions