Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
commit: use SEQ_DIR instead of hardcoding "sequencer"
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Sun, 30 Nov 2014 08:24:35 +0000
(15:24 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 1 Dec 2014 19:00:12 +0000
(11:00 -0800)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
aaa2680
)
diff --git
a/builtin/commit.c
b/builtin/commit.c
index e108c5301564a86d396d72169f40cd24a9916a1f..3f02686800a3c964d40d1cdb22608c38d62039a9 100644
(file)
--- a/
builtin/commit.c
+++ b/
builtin/commit.c
@@
-170,7
+170,7
@@
static void determine_whence(struct wt_status *s)
whence = FROM_MERGE;
else if (file_exists(git_path("CHERRY_PICK_HEAD"))) {
whence = FROM_CHERRY_PICK;
- if (file_exists(git_path(
"sequencer"
)))
+ if (file_exists(git_path(
SEQ_DIR
)))
sequencer_in_use = 1;
}
else