Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
fetch-pack: brown paper bag fix
author
Junio C Hamano
<gitster@pobox.com>
Wed, 30 Apr 2008 18:42:05 +0000
(11:42 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 30 Apr 2008 18:42:05 +0000
(11:42 -0700)
When I applied Linus's patch from the list by hand somehow I ended
up reversing the logic by mistake. This fixes it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch-pack.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
30c0312
)
diff --git
a/builtin-fetch-pack.c
b/builtin-fetch-pack.c
index fe8cfa0cb899d0db2f572e4fcf859dea9e895197..c97a42739d23ac7ed90ae207e5a3770c388e66a7 100644
(file)
--- a/
builtin-fetch-pack.c
+++ b/
builtin-fetch-pack.c
@@
-123,7
+123,7
@@
static const unsigned char* get_rev(void)
return NULL;
commit = rev_list->item;
- if (commit->object.parsed)
+ if (
!
commit->object.parsed)
parse_commit(commit);
parents = commit->parents;