From a9507a29828d24eaf7155636554b64dc712e5a15 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 10 Mar 2012 12:46:27 -0500 Subject: [PATCH] bash_aliases: add git alias "mktarxz" --- bash_aliases | 1 + 1 file changed, 1 insertion(+) diff --git a/bash_aliases b/bash_aliases index 32f0842..ba4aef7 100755 --- a/bash_aliases +++ b/bash_aliases @@ -131,6 +131,7 @@ function git-config-joshs() git config --global alias.gdiffc 'difftool -y -t gvimdiff --cached' git config --global alias.wdiff 'diff --word-diff=color' git config --global alias.mktar '!function f { name="$1"; pos="$2"; if [ "$pos" == "" ]; then pos=HEAD; fi; git archive --prefix="$name"/ "$pos" | bzip2 > ../"$name".tar.bz2; }; f' + git config --global alias.mktarxz '!function f { name="$1"; pos="$2"; if [ "$pos" == "" ]; then pos=HEAD; fi; git archive --prefix="$name"/ "$pos" | xz > ../"$name".tar.xz; }; f' git config --global push.default tracking if [ -e /bin/cygwin1.dll ]; then git config --global alias.bcdiff 'difftool -y -t bc2'