Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added bak ls

  • Loading branch information...
commit 6a0910050abac29ba05d2c30d090596acace56a0 1 parent 0fb1bea
@dpavlin authored
Showing with 3 additions and 1 deletion.
  1. +1 −1  TODO
  2. +2 −0  bak-git-server.pl
View
2  TODO
@@ -2,5 +2,5 @@
+ diff/revert from another host:/paths/
+ bak diff without params doesn't return full host diff
+ bak cat host:/path/to/file
-- bak ls
++ bak ls
- daily cron job to create branch with uncommited changes
View
2  bak-git-server.pl
@@ -196,6 +196,8 @@ sub pull_changes {
print $client $_;
}
close($file);
+ } elsif ( $command eq 'ls' ) {
+ print $client `ls $backup_path`;
} else {
print $client "Unknown command: $command\n";
}
Please sign in to comment.
Something went wrong with that request. Please try again.