Skip to content

Commit

Permalink
rewritten list-patch as bash function taking git revision number or H…
Browse files Browse the repository at this point in the history
…EAD~~~~~stuff
  • Loading branch information
durdn committed Jun 16, 2011
1 parent 4af5134 commit e752360
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ alias gc='git commit '
alias gd='git diff '
alias go='git checkout '
alias stashup='git stash && git svn rebase && git stash apply'
alias list-patch="git ll -1 | tail -n +2 | awk '{print \$3}'"
#alias list-patch="git ll -1 | tail -n +2 | awk '{print \$3}'"
function list-patch {
git log --oneline --decorate --numstat -1 $1 | tail -n +2 | awk {'print $3'}
}

#fixes hg/mercurial
export LC_ALL=en_US.UTF-8
Expand Down

0 comments on commit e752360

Please sign in to comment.