Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
hold_locked_index(): move from lockfile.c to read-cache.c
[gitweb.git]
/
fast-import.c
diff --git
a/fast-import.c
b/fast-import.c
index 96b0f4236a2083044e4ae1dfa3b8180e3e586ba1..783c6840b5962d82ccce05f20dd921f67ab6006a 100644
(file)
--- a/
fast-import.c
+++ b/
fast-import.c
@@
-1832,10
+1832,8
@@
static void dump_marks(void)
}
if (commit_lock_file(&mark_lock)) {
- int saved_errno = errno;
- rollback_lock_file(&mark_lock);
failure |= error("Unable to commit marks file %s: %s",
- export_marks_file, strerror(
saved_
errno));
+ export_marks_file, strerror(errno));
return;
}
}