~kaction/config

ref: bd83900251b2478f4863aa288b5c68d655e63eba config/universe/git/builder.bash -rw-r--r-- 411 bytes
bd839002 — Dmitry Bogatov Recover git-logp script 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash -- source only
mkdir $out/config/git -p
cp -t $out -rs $git/*

chmod u+w $out/bin && unlink $out/bin/git

cat << EOF > $out/bin/git
#!${execline}/bin/execlineb -S0
export XDG_CONFIG_HOME $out/config
export FILTER_BRANCH_SQUELCH_WARNING 1
${blurdate}/bin/blurdate =hMs ${git}/bin/git \$@
EOF
chmod +x $out/bin/git

substituteAll $gitconfig $out/config/git/config
cp $gitignore $out/config/git/ignore