diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-01 21:58:53 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-01 21:58:53 -0800 |
commit | 235d521da60e4699e5bd59ac658b5b48bd76ddca (patch) | |
tree | 25620311ca206d41659b5f3e6f60760dca584c2b /git-mv.perl | |
parent | d92ddb525d47f11ecb6b11e795a668240d9a1af5 (diff) | |
parent | 8e6ae4ad5ff14a6fd958ada867e24f8d248aac58 (diff) | |
download | git-235d521da60e4699e5bd59ac658b5b48bd76ddca.tar.gz |
GIT 0.99.9bv0.99.9b
This contains the changes made on the master branch since 0.99.9a.
The workaround for building RPMs has not changed since 0.99.9a,
mainly because I haven't heard back if it was good enough for
kernel.org consumption, or otherwise what changes are needed.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-mv.perl')
-rwxr-xr-x | git-mv.perl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git-mv.perl b/git-mv.perl index 17e35b0ac0..a21d87eea8 100755 --- a/git-mv.perl +++ b/git-mv.perl @@ -54,6 +54,8 @@ my ($src, $dst, $base, $dstDir); my $argCount = scalar @ARGV; if (-d $ARGV[$argCount-1]) { $dstDir = $ARGV[$argCount-1]; + # remove any trailing slash + $dstDir =~ s/\/$//; @srcArgs = @ARGV[0..$argCount-2]; foreach $src (@srcArgs) { |