Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'va/i18n-perl-scripts'
[gitweb.git]
/
builtin
/
mv.c
diff --git
a/builtin/mv.c
b/builtin/mv.c
index 2f43877bc9a17c5bef2906a383cc8cdd6f4f5b82..43adf92ba64426a2f312cd6133276a98b20855f1 100644
(file)
--- a/
builtin/mv.c
+++ b/
builtin/mv.c
@@
-126,7
+126,7
@@
int cmd_mv(int argc, const char **argv, const char *prefix)
if (--argc < 1)
usage_with_options(builtin_mv_usage, builtin_mv_options);
- hold_locked_index(&lock_file,
1
);
+ hold_locked_index(&lock_file,
LOCK_DIE_ON_ERROR
);
if (read_cache() < 0)
die(_("index file corrupt"));