]>
git.madduck.net Git - code/myrepos.git/blobdiff - mr
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:
my $dir=$topdir.$subdir;
if (defined $directory &&
my $dir=$topdir.$subdir;
if (defined $directory &&
$dir !~ /^\Q$directory\E\//) {
$dir !~ /^\Q$directory\E\//) {
- print "mr $action: $dir skipped per -d parameter\n" if $verbose;
+ print "mr $action: $dir skipped per -d parameter ($directory) \n" if $verbose;
push @skipped, $dir;
next;
}
push @skipped, $dir;
next;
}
return;
}
print "\nmr $action: finished (".join("; ",
return;
}
print "\nmr $action: finished (".join("; ",
- showstat($#successes+1, "success", "sucesses"),
+ showstat($#successes+1, "success", "succ esses"),
showstat($#failures+1, "failure", "failures"),
showstat($#skipped+1, "skipped", "skipped"),
).")\n";
showstat($#failures+1, "failure", "failures"),
showstat($#skipped+1, "skipped", "skipped"),
).")\n";
- $f=abs_path($f);
-
- if ($loaded{$f}) {
+ # $f might be a symlink
+ my $absf=abs_path($f);
+ if ($loaded{$abs f}) {
print "mr: loading config $f\n" if $verbose;
open($in, "<", $f) || die "mr: open $f: $!\n";
($dir)=$f=~/^(.*\/)[^\/]+$/;
print "mr: loading config $f\n" if $verbose;
open($in, "<", $f) || die "mr: open $f: $!\n";
($dir)=$f=~/^(.*\/)[^\/]+$/;
+ $dir=abs_path($dir)."/";
# copy in defaults from first parent
my $parent=$dir;
# copy in defaults from first parent
my $parent=$dir;