summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-10-17 15:45:57 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-10-17 15:45:58 -0700
commitda39d5e0bceaea51851658c0ed3ff0097b00ee0f (patch)
treeb1f83795b8ae2a8dc5edcc9a3914e100b7e1f1df
parentMerge branch 'js/add-i-mingw' into maint (diff)
parentcvsserver: pick up the right mode bits (diff)
downloadtgif-da39d5e0bceaea51851658c0ed3ff0097b00ee0f.tar.xz
Merge branch 'jc/cvsserver-perm-bit-fix' into maint
* jc/cvsserver-perm-bit-fix: cvsserver: pick up the right mode bits
-rwxr-xr-xgit-cvsserver.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cvsserver.perl b/git-cvsserver.perl
index a0d796e570..67b1e7b463 100755
--- a/git-cvsserver.perl
+++ b/git-cvsserver.perl
@@ -4167,7 +4167,7 @@ sub convertToDbMode
# this half-converted form, but it isn't currently worth the
# backwards compatibility headaches.
- $mode=~/^\d\d(\d)\d{3}$/;
+ $mode=~/^\d{3}(\d)\d\d$/;
my $userBits=$1;
my $dbMode = "";