Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Must not modify the_index.cache as it may be passed to realloc at some point.
[gitweb.git]
/
mktag.c
diff --git
a/mktag.c
b/mktag.c
index b82e377bd826617810488ea8c92a4135bceebda6..38acd5a295d5f06fb2db60633e89a06ba634beb8 100644
(file)
--- a/
mktag.c
+++ b/
mktag.c
@@
-120,7
+120,7
@@
int main(int argc, char **argv)
setup_git_directory();
- if (read_
pipe
(0, &buffer, &size)) {
+ if (read_
fd
(0, &buffer, &size)) {
free(buffer);
die("could not read from stdin");
}