projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
828ea97
)
sha1_name.c: indentation fix
author
Junio C Hamano
<gitster@pobox.com>
Mon, 18 Jun 2012 18:30:15 +0000
(11:30 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 18 Jun 2012 21:59:56 +0000
(14:59 -0700)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_name.c
patch
|
blob
|
history
diff --git
a/sha1_name.c
b/sha1_name.c
index 03ffc2caaa6524a3361bc47a89e101ced2f0e987..5b0c845d856cd8f78a426df944aa9d6fb64a365f 100644
(file)
--- a/
sha1_name.c
+++ b/
sha1_name.c
@@
-103,10
+103,10
@@
static int find_short_packed_object(int len, const unsigned char *match, unsigne
}
if (first < num) {
const unsigned char *now, *next;
- now = nth_packed_object_sha1(p, first);
+
now = nth_packed_object_sha1(p, first);
if (match_sha(len, match, now)) {
next = nth_packed_object_sha1(p, first+1);
- if (!next|| !match_sha(len, match, next)) {
+
if (!next|| !match_sha(len, match, next)) {
/* unique within this pack */
if (!found) {
found_sha1 = now;