diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-12-12 10:45:24 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-12 11:47:02 +0300 |
commit | 309883015ff3af6ce14ff9fe401e06cfce8adb13 (patch) | |
tree | 2c9d2d7a03a3627a2cec39871b00f1b81cfc6dae /wt-status.h | |
parent | 68cfc6f551a02d29a2bc48c6473fad6ab42a476f (diff) |
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.h')
0 files changed, 0 insertions, 0 deletions