Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Separate main part of git_history into git_history_body
[gitweb.git]
/
builtin-checkout-index.c
diff --git
a/builtin-checkout-index.c
b/builtin-checkout-index.c
index 29ea6fdc6232c1071d88524fa5c11d5ba1882dee..8d0dbad49ecd61edf8bdadc24e23e52d31d961a3 100644
(file)
--- a/
builtin-checkout-index.c
+++ b/
builtin-checkout-index.c
@@
-204,7
+204,7
@@
int cmd_checkout_index(int argc, const char **argv, const char *prefix)
state.refresh_cache = 1;
if (newfd < 0)
newfd = hold_lock_file_for_update
- (&lock_file, get_index_file());
+ (&lock_file, get_index_file()
, 1
);
if (newfd < 0)
die("cannot open index.lock file.");
continue;