summaryrefslogtreecommitdiff
path: root/sha1_name.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-06-18 18:30:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-06-18 21:59:56 (GMT)
commita1b475eeb40dc29246d4ce7465474479639769d0 (patch)
tree1442cff1a979edeed24027aa9a57f6e0baeece32 /sha1_name.c
parent828ea97de486c1693d6e4f2c7347acb50235a85d (diff)
downloadgit-a1b475eeb40dc29246d4ce7465474479639769d0.zip
git-a1b475eeb40dc29246d4ce7465474479639769d0.tar.gz
git-a1b475eeb40dc29246d4ce7465474479639769d0.tar.bz2
sha1_name.c: indentation fix
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_name.c')
-rw-r--r--sha1_name.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sha1_name.c b/sha1_name.c
index 03ffc2c..5b0c845 100644
--- 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;