Skip to content

Commit

Permalink
Merge branch 'maint-1.6.0' into maint-1.6.1
Browse files Browse the repository at this point in the history
* maint-1.6.0:
  commit: abort commit if interactive add failed
  git-repack: use non-dashed update-server-info

Conflicts:
	builtin-commit.c
  • Loading branch information
Junio C Hamano committed Apr 5, 2009
2 parents f054a41 + 4f6a32f commit acb0b7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion builtin-commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ static char *prepare_index(int argc, const char **argv, const char *prefix)
const char **pathspec = NULL;

if (interactive) {
interactive_add(argc, argv, prefix);
if (interactive_add(argc, argv, prefix) != 0)
die("interactive add failed");
if (read_cache_preload(NULL) < 0)
die("index file corrupt");
commit_style = COMMIT_AS_IS;
Expand Down
2 changes: 1 addition & 1 deletion git-repack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,5 +181,5 @@ fi

case "$no_update_info" in
t) : ;;
*) git-update-server-info ;;
*) git update-server-info ;;
esac

0 comments on commit acb0b7b

Please sign in to comment.