Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'mh/shorten-unambigous-ref'
[gitweb.git]
/
perl
/
Git.pm
diff --git
a/perl/Git.pm
b/perl/Git.pm
index 0ba15b9a5648afcd6fc2dad8c095c6ff1967bcc7..204fdc673754c82637c59992198a2c8d31e05fa8 100644
(file)
--- a/
perl/Git.pm
+++ b/
perl/Git.pm
@@
-1277,7
+1277,7
@@
sub _temp_cache {
my $temp_fd = \$TEMP_FILEMAP{$name};
if (defined $$temp_fd and $$temp_fd->opened) {
- if (
temp_is_locked($name)
) {
+ if (
$TEMP_FILES{$$temp_fd}{locked}
) {
throw Error::Simple("Temp file with moniker '" .
$name . "' already in use");
}