git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
aaa2680
)
commit: use SEQ_DIR instead of hardcoding "sequencer"
author
Nguyễn Thái Ngọc Duy
<redacted>
Sun, 30 Nov 2014 08:24:35 +0000
(15:24 +0700)
committer
Junio C Hamano
<redacted>
Mon, 1 Dec 2014 19:00:12 +0000
(11:00 -0800)
Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/commit.c
patch
|
blob
|
history
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
git clone https://git.99rst.org/PROJECT