]>
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 $trust_all=0;
my $directory=getcwd();
my $trust_all=0;
my $directory=getcwd();
+my $HOME_MR_CONFIG = "$ENV{HOME}/.mrconfig";
$ENV{MR_CONFIG}=find_mrconfig();
# globals :-(
$ENV{MR_CONFIG}=find_mrconfig();
# globals :-(
my $config=shift; # must be abs_pathed already
# We always trust ~/.mrconfig.
my $config=shift; # must be abs_pathed already
# We always trust ~/.mrconfig.
- return 1 if $config eq abs_path("$ENV{HOME}/.mrconfig" );
+ return 1 if $config eq abs_path($HOME_MR_CONFIG );
return 1 if $trust_all;
my $trustfile=$ENV{HOME}."/.mrtrust";
if (! %trusted) {
return 1 if $trust_all;
my $trustfile=$ENV{HOME}."/.mrtrust";
if (! %trusted) {
- $trusted{"$ENV{HOME}/.mrconfig" }=1;
+ $trusted{$HOME_MR_CONFIG }=1;
if (open (TRUST, "<", $trustfile)) {
while (<TRUST>) {
chomp;
if (open (TRUST, "<", $trustfile)) {
while (<TRUST>) {
chomp;
- return "$ENV{HOME}/.mrconfig" ;
+ return $HOME_MR_CONFIG ;
init();
startingconfig();
init();
startingconfig();
- loadconfig("$ENV{HOME}/.mrconfig" );
+ loadconfig($HOME_MR_CONFIG );
loadconfig($ENV{MR_CONFIG});
#use Data::Dumper; print Dumper(\%config);
loadconfig($ENV{MR_CONFIG});
#use Data::Dumper; print Dumper(\%config);