]>
git.madduck.net Git - code/myrepos.git/commitdiff
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
056bfc2 )
my %knownactions;
my %alias;
my (@ok, @failed, @skipped);
my %knownactions;
my %alias;
my (@ok, @failed, @skipped);
if ($ret >> 8 != 0) {
print STDERR "mr $action: command failed\n";
if (-e "$ENV{HOME}/.mrlog" && $action ne 'remember') {
if ($ret >> 8 != 0) {
print STDERR "mr $action: command failed\n";
if (-e "$ENV{HOME}/.mrlog" && $action ne 'remember') {
- @ARGV=($action, @ARGV );
+ @ARGV=(@SWITCHES, $action );
action("remember", $dir, $topdir, $subdir);
}
}
action("remember", $dir, $topdir, $subdir);
}
}
sub main { #{{{
getopts();
init();
sub main { #{{{
getopts();
init();
loadconfig(\*DATA);
loadconfig($ENV{MR_CONFIG});
#use Data::Dumper; print Dumper(\%config);
loadconfig(\*DATA);
loadconfig($ENV{MR_CONFIG});
#use Data::Dumper; print Dumper(\%config);
+
+ my $action=shift @ARGV;
+ @SWITCHES = grep { $_ ne $action } @SWITCHES;
+ $action=expandaction($action);
- my $action=expandaction(shift @ARGV);
dispatch($action);
showstats($action);
dispatch($action);
showstats($action);