From: Jan Kratochvil Date: Tue, 20 Sep 2011 17:40:35 +0000 (+0200) Subject: +gitcommit X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=49518a42d25781a69ecc7ddf2e870a0411fa6981 +gitcommit rsync: +a --- diff --git a/.bashrc b/.bashrc index 2d51109..a7af14b 100644 --- a/.bashrc +++ b/.bashrc @@ -243,7 +243,7 @@ function finame { find . -false ` `; } function mkcd { mkdir -p "$1"; cd "$1"; } function pushdmk { mkdir -p "$1"; pushd "$1"; } -function rsync {(unset rsync; n rsync -v -e ssh --progress --stats --inplace --rsync-path='nice -n20 ionice -c3 rsync' "$@"; );} +function rsync {(unset rsync; n rsync -a -v -e ssh --progress --stats --inplace --rsync-path='nice -n20 ionice -c3 rsync' "$@"; );} function tohex { od -An -txC|tr -d '\n '|tr 'a-f' 'A-F';echo; } function edall { find -type f|while read -r i;do @@ -365,6 +365,7 @@ function rpmsrclist } function valgrind {(set -e;unset valgrind;s=~/.python.valgrind;rm -f $s;cp -p /usr/share/doc/python-devel-2.*/valgrind-python.supp $s;patch $s <$s.patch;perl -i -e 'undef $/;$_=<>;1 while s/^(?:###)?({\n)(?:###)?( *ADDRESS_IN_RANGE.*\n(?:[^}#].*\n)*)###/$1$2/gm;print;' $s;valgrind --num-callers=50 --suppressions=$s "$@";);} function yumupdate {(ulimit -v unlimited;yum makecache;yum -y --skip-broken update "$@";);} +function gitcommit { git commit -a -m .; } ulimit -S -c 0 set +H