My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
8a124b8
9279870
)
Merge branch 'maint-1.5.5' into maint-1.5.6
author
Junio C Hamano
<gitster@pobox.com>
Wed, 11 Feb 2009 09:41:22 +0000
(
01:41
-0800)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 11 Feb 2009 09:41:22 +0000
(
01:41
-0800)
* maint-1.5.5:
revision traversal and pack: notice and die on missing commit
Conflicts:
revision.c
1
2
revision.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
revision.c
index
a68abec
,
07e5fcd
..
3861470
---
1
/
revision.c
---
2
/
revision.c
+++ b/
revision.c
@@@
-1598,8
-1560,9
+1598,9
@@@
static struct commit *get_revision_1(st
if (revs->max_age != -1 &&
(commit->date < revs->max_age))
continue;
- if (add_parents_to_list(revs, commit, &revs->commits) < 0)
+ if (add_parents_to_list(revs, commit, &revs->commits
, NULL
) < 0)
- return NULL;
+ die("Failed to traverse parents of commit %s",
+ sha1_to_hex(commit->object.sha1));
}
switch (simplify_commit(revs, commit)) {