projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
f054a41
4f6a32f
)
Merge branch 'maint-1.6.0' into maint-1.6.1
author
Junio C Hamano
<gitster@pobox.com>
Sun, 5 Apr 2009 08:04:38 +0000
(
01:04
-0700)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 5 Apr 2009 08:04:38 +0000
(
01:04
-0700)
* maint-1.6.0:
commit: abort commit if interactive add failed
git-repack: use non-dashed update-server-info
Conflicts:
builtin-commit.c
1
2
builtin-commit.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
builtin-commit.c
index 2f0b00a174ff970939d2758334cb8d1dca41cb42,fde7b891d9d015acfeb1ee3b9ab42ff1eafd49b6..72dd0b95531cc8024ea106b14bbe847e956d308c
---
1
/
builtin-commit.c
---
2
/
builtin-commit.c
+++ b/
builtin-commit.c
@@@
-224,8
-224,9
+224,9
@@@
static char *prepare_index(int argc, co
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
(
) < 0)
+ if (read_cache
_preload(NULL
) < 0)
die("index file corrupt");
commit_style = COMMIT_AS_IS;
return get_index_file();