Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
avoid double close of descriptors handed to run_command
[gitweb.git]
/
builtin
/
replace.c
diff --git
a/builtin/replace.c
b/builtin/replace.c
index 8507835d39664de640ccdd02df75743db19b4ec0..eb1d2ec5e53969b0feee3f1555b45b36a4030fab 100644
(file)
--- a/
builtin/replace.c
+++ b/
builtin/replace.c
@@
-207,8
+207,6
@@
static void export_object(const unsigned char *sha1, const char *filename)
if (run_command(&cmd))
die("cat-file reported failure");
-
- close(fd);
}
/*