summaryrefslogtreecommitdiff
path: root/utils/git-testament.pl
diff options
context:
space:
mode:
Diffstat (limited to 'utils/git-testament.pl')
-rw-r--r--utils/git-testament.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/git-testament.pl b/utils/git-testament.pl
index 5d1586bed..dc6301b50 100644
--- a/utils/git-testament.pl
+++ b/utils/git-testament.pl
@@ -103,6 +103,7 @@ my %userinfo; # The information about the current user
my $gecos = $pwent[6];
$gecos =~ s/,.+//g;
$gecos =~ s/"/'/g;
+ $gecos =~ s/\\/\\\\/g;
$userinfo{GECOS} = $gecos;
}