Skip to content

Commit

Permalink
don't change directories when cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
genehack authored and perigrin committed Apr 11, 2011
1 parent 374e858 commit fe1a4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Git/Wrapper.pm
Expand Up @@ -58,7 +58,7 @@ sub _cmd {
my @err;

{
my $d = pushd $self->dir;
my $d = pushd $self->dir unless $cmd eq 'clone';
my ($wtr, $rdr, $err);
$err = Symbol::gensym;
print STDERR join(' ',@cmd),"\n" if $DEBUG;
Expand Down

0 comments on commit fe1a4dd

Please sign in to comment.