Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix export_marks() error handling.
[gitweb.git]
/
builtin-tag.c
diff --git
a/builtin-tag.c
b/builtin-tag.c
index 01e73747d02f384c5e31b846340a4b586c84aab3..e54443009420d98dc281285e997b32f2a263b996 100644
(file)
--- a/
builtin-tag.c
+++ b/
builtin-tag.c
@@
-338,7
+338,7
@@
static void create_tag(const unsigned char *object, const char *tag,
exit(128);
}
if (path) {
- unlink(path);
+ unlink
_or_warn
(path);
free(path);
}
}