Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-hash-object.txt: document --literally option
[gitweb.git]
/
remote.c
diff --git
a/remote.c
b/remote.c
index 0e39b2442d90db07b2ad53069af2263b15472870..35e62ee0f55cf6c44c0ad94761249ef12b7c19c5 100644
(file)
--- a/
remote.c
+++ b/
remote.c
@@
-1922,7
+1922,8
@@
int stat_tracking_info(struct branch *branch, int *num_ours, int *num_theirs)
init_revisions(&revs, NULL);
setup_revisions(rev_argc, rev_argv, &revs, NULL);
- prepare_revision_walk(&revs);
+ if (prepare_revision_walk(&revs))
+ die("revision walk setup failed");
/* ... and count the commits on each side. */
*num_ours = 0;