Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-15 23:47:43 +0300
committerJunio C Hamano <junkio@cox.net>2006-02-16 00:03:27 +0300
commitf8f135c9bae74f846a92e1f1f1fea8308802ace5 (patch)
tree894e221bbf9916cffd2eee87417455f0291f5dd7 /pack-check.c
parent6becd7da8786555fbd2aeeb9669d37dc810f2658 (diff)
packed objects: minor cleanup
The delta depth is unsigned. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'pack-check.c')
-rw-r--r--pack-check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pack-check.c b/pack-check.c
index 67a7ecdf16..eca32b6cab 100644
--- a/pack-check.c
+++ b/pack-check.c
@@ -84,7 +84,7 @@ static void show_pack_info(struct packed_git *p)
char type[20];
unsigned long size;
unsigned long store_size;
- int delta_chain_length;
+ unsigned int delta_chain_length;
if (nth_packed_object_sha1(p, i, sha1))
die("internal error pack-check nth-packed-object");
@@ -98,7 +98,7 @@ static void show_pack_info(struct packed_git *p)
if (!delta_chain_length)
printf("%-6s %lu %u\n", type, size, e.offset);
else
- printf("%-6s %lu %u %d %s\n", type, size, e.offset,
+ printf("%-6s %lu %u %u %s\n", type, size, e.offset,
delta_chain_length, sha1_to_hex(base_sha1));
}