Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
get_tree_entry: map blank requested entry to tree root
[gitweb.git]
/
builtin-tar-tree.c
diff --git
a/builtin-tar-tree.c
b/builtin-tar-tree.c
index ad802fc1aa7fe2b487b2ffdac68f27df82ebc941..8055ddab9b07e017a832e2fedf31b35fa0788a13 100644
(file)
--- a/
builtin-tar-tree.c
+++ b/
builtin-tar-tree.c
@@
-82,7
+82,7
@@
int cmd_get_tar_commit_id(int argc, const char **argv, const char *prefix)
if (memcmp(content, "52 comment=", 11))
return 1;
- n =
xwrite
(1, content + 11, 41);
+ n =
write_in_full
(1, content + 11, 41);
if (n < 41)
die("git-get-tar-commit-id: write error");