-
Notifications
You must be signed in to change notification settings - Fork 141
sequencer: start running post-commit hook again #388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
b9689e8
96432cd
09857de
0eac3ed
f394a0e
67a7117
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1443,28 +1443,6 @@ static int git_commit_config(const char *k, const char *v, void *cb) | |
return git_status_config(k, v, s); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Johannes Schindelin wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Junio C Hamano wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Phillip Wood wrote (reply to this):
|
||
} | ||
|
||
int run_commit_hook(int editor_is_used, const char *index_file, const char *name, ...) | ||
{ | ||
struct argv_array hook_env = ARGV_ARRAY_INIT; | ||
va_list args; | ||
int ret; | ||
|
||
argv_array_pushf(&hook_env, "GIT_INDEX_FILE=%s", index_file); | ||
|
||
/* | ||
* Let the hook know that no editor will be launched. | ||
*/ | ||
if (!editor_is_used) | ||
argv_array_push(&hook_env, "GIT_EDITOR=:"); | ||
|
||
va_start(args, name); | ||
ret = run_hook_ve(hook_env.argv,name, args); | ||
va_end(args); | ||
argv_array_clear(&hook_env); | ||
|
||
return ret; | ||
} | ||
|
||
int cmd_commit(int argc, const char **argv, const char *prefix) | ||
{ | ||
const char *argv_gc_auto[] = {"gc", "--auto", NULL}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Johannes Schindelin wrote (reply to this):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Junio C Hamano wrote (reply to this):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Phillip Wood wrote (reply to this):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Johannes Schindelin wrote (reply to this):