X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Fgit;h=90d1c215a2e46ae48cb468af90a32cde5add29d6;hb=46fc1400c855e5b0b180e5cad894edbe696088ac;hp=341ca7bcd4ca99c40037742f555acdf37cc59a27;hpb=bdb1e0c845a6921e22d52fbff3404d5c1dfae520;p=clearscm.git diff --git a/rc/git b/rc/git index 341ca7b..90d1c21 100644 --- a/rc/git +++ b/rc/git @@ -30,11 +30,11 @@ function in_git_repo { function git () { # Need to reset title since we put the branch name in the titlebar - git=$(which git) + git=$(/usr/bin/which git) if [ "${git:0:3}" != "no " ]; then if [ "$1" = "checkout" -o "$1" = "co" ]; then - $git $@ + $git "$@" set_title elif [ "$1" = "files" ]; then if [ -z "$2" ]; then @@ -45,7 +45,7 @@ function git () { $git show --pretty="" --name-only $2 fi else - $git $@ + $git "$@" fi fi } # git