Permalink
Browse files

Adjust new branch/new tag matching to new sed regexp

  • Loading branch information...
sickill committed Dec 15, 2011
1 parent be426ab commit bc538545c5811a733eb0aa24558a5f741b09d205
Showing with 2 additions and 2 deletions.
  1. +2 −2 git-dude
View
@@ -83,11 +83,11 @@ while true; do
notify $icon_path "New commits in $repo_name/$branch_name" "$commit_messages"
;;
*new\ branch*)
- branch_name=$(echo "$line" | awk '{ print $4 }')
+ branch_name=$(echo "$line" | awk '{ print $3 }')
notify $icon_path "New branch $repo_name/$branch_name" ""
;;
*new\ tag*)
- tag_name=$(echo "$line" | awk '{ print $4 }')
+ tag_name=$(echo "$line" | awk '{ print $3 }')
notify $icon_path "New tag $repo_name/$tag_name" ""
;;
esac

0 comments on commit bc53854

Please sign in to comment.