Skip to content

Commit

Permalink
Merge branch 'master' of github.com:visionmedia/git-extras
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Nov 20, 2012
2 parents 41c1719 + 708c819 commit 614d033
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/git-count
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh

if test "$1" = "--all"; then
git shortlog -n $@ | grep "):$" | sed 's|:||'
git shortlog -n -s $@ | awk '{print substr($0,index($0,$2)) " (" $1 ")"}'
echo
fi

echo total `git log --oneline | wc -l`
echo total `git rev-list --count HEAD`
3 changes: 2 additions & 1 deletion bin/git-delete-branch
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
branch=$1
test -z $branch && echo "branch required." 1>&2 && exit 1
git branch -D $branch
git branch -d -r origin/$branch && git push origin :$branch
git branch -d -r origin/$branch
git push origin :$branch

0 comments on commit 614d033

Please sign in to comment.