Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

perltidy

  • Loading branch information...
commit e15dce18bc2f6c5e19ccb1a049364b8af888463a 1 parent 33befa7
@justone justone authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 bin/dfm
View
10 bin/dfm
@@ -124,13 +124,13 @@ sub get_current_branch {
}
sub get_branch_remote {
- my $branch = shift;
+ my $branch = shift;
my $branch_remote = `git config branch.$branch.remote`;
chomp $branch_remote;
DEBUG("remote for branch $branch: $branch_remote");
- if($branch_remote eq "") {
+ if ( $branch_remote eq "" ) {
WARN("no remote found for branch $branch");
exit(-1);
}
@@ -318,7 +318,8 @@ sub install_files {
install_files( "$source_dir/$recurse", "$target_dir/$recurse" );
}
else {
- WARN("couldn't recurse into $source_dir/$recurse, not a directory");
+ WARN("couldn't recurse into $source_dir/$recurse, not a directory"
+ );
}
}
}
@@ -398,7 +399,8 @@ sub uninstall_files {
uninstall_files( "$source_dir/$recurse", "$target_dir/$recurse" );
}
else {
- WARN("couldn't recurse into $target_dir/$recurse, not a directory");
+ WARN("couldn't recurse into $target_dir/$recurse, not a directory"
+ );
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.