Skip to content

Commit

Permalink
Merge branch 'lr/git-run-setup-gently'
Browse files Browse the repository at this point in the history
* lr/git-run-setup-gently:
  git.c: treat RUN_SETUP_GENTLY and RUN_SETUP as mutually exclusive
  • Loading branch information
Junio C Hamano committed Jun 3, 2014
2 parents 3a9dae7 + 27bd38d commit 22e91ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ static int run_builtin(struct cmd_struct *p, int argc, const char **argv)
if (!help) {
if (p->option & RUN_SETUP)
prefix = setup_git_directory();
if (p->option & RUN_SETUP_GENTLY) {
else if (p->option & RUN_SETUP_GENTLY) {
int nongit_ok;
prefix = setup_git_directory_gently(&nongit_ok);
}
Expand Down

0 comments on commit 22e91ba

Please sign in to comment.