projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove the temp file if it is empty after the request has failed
[git.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index
8f40318
..
a8c9bfc
100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-55,7
+55,7
@@
static struct commit *check_commit(struct object *obj,
struct commit *lookup_commit_reference_gently(const unsigned char *sha1,
int quiet)
{
- struct object *obj = deref_tag(parse_object(sha1));
+ struct object *obj = deref_tag(parse_object(sha1)
, NULL, 0
);
if (!obj)
return NULL;