summaryrefslogtreecommitdiff
path: root/wt-status.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-12-11 23:45:24 -0800
committerJunio C Hamano <gitster@pobox.com>2009-12-12 00:47:02 -0800
commit309883015ff3af6ce14ff9fe401e06cfce8adb13 (patch)
tree2c9d2d7a03a3627a2cec39871b00f1b81cfc6dae /wt-status.c
parent68cfc6f551a02d29a2bc48c6473fad6ab42a476f (diff)
downloadgit-309883015ff3af6ce14ff9fe401e06cfce8adb13.tar.gz
commit/status: check $GIT_DIR/MERGE_HEAD only once
The code checked for the MERGE_HEAD file to see if we were about to commit a merge twice in the codepath; also one of them used a variable merge_head_sha1[] which was set but was never used. Just check it once, but do so also in "git status", too, as we will be using this for status generation in the next patch. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.c')
0 files changed, 0 insertions, 0 deletions