diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-04-05 01:04:54 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-05 01:04:54 -0700 |
commit | be18f4b899a94ff51ff3c621822500579cf6df6a (patch) | |
tree | 4c51b65cbee630580fe470b4ed5ba695ce3187f0 | |
parent | doc/git-pack-refs: fix two grammar issues (diff) | |
parent | Merge branch 'maint-1.6.0' into maint-1.6.1 (diff) | |
download | tgif-be18f4b899a94ff51ff3c621822500579cf6df6a.tar.xz |
Merge branch 'maint-1.6.1' into maint
* maint-1.6.1:
commit: abort commit if interactive add failed
git-repack: use non-dashed update-server-info
-rw-r--r-- | builtin-commit.c | 3 | ||||
-rwxr-xr-x | git-repack.sh | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/builtin-commit.c b/builtin-commit.c index 46e649cd7c..81371b1d26 100644 --- a/builtin-commit.c +++ b/builtin-commit.c @@ -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; diff --git a/git-repack.sh b/git-repack.sh index be6db5e805..00c597e97c 100755 --- a/git-repack.sh +++ b/git-repack.sh @@ -181,5 +181,5 @@ fi case "$no_update_info" in t) : ;; -*) git-update-server-info ;; +*) git update-server-info ;; esac |