Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Convert the index file reading/writing to use network byte order.
[gitweb.git]
/
show-diff.c
diff --git
a/show-diff.c
b/show-diff.c
index 1286dd1217582df17df629413f781010bc41f314..a15e9b4cf0be5f67373d08fb5c833dd5c1d3eeb8 100644
(file)
--- a/
show-diff.c
+++ b/
show-diff.c
@@
-90,7
+90,7
@@
int main(int argc, char **argv)
changed = cache_match_stat(ce, &st);
if (!changed)
continue;
- printf("%.*s: ", ce
->namelen
, ce->name);
+ printf("%.*s: ", ce
_namelen(ce)
, ce->name);
for (n = 0; n < 20; n++)
printf("%02x", ce->sha1[n]);
printf("\n");