Permalink
Browse files

fix githelpers for use in ubuntu

  • Loading branch information...
1 parent 0667829 commit 10d8315c63430e00046154ac93f81c2e06af2167 @ronhopper committed Jun 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 .githelpers
View
@@ -29,9 +29,9 @@ show_git_head() {
pretty_git_log() {
git log --graph --pretty="tformat:${FORMAT}" $* |
# Replace (2 years ago) with (2 years)
- sed -Ee 's/(^[^<]*) ago)/\1)/' |
+ sed -re 's/(^[^<]*) ago\)/\1)/' |
# Replace (2 years, 5 months) with (2 years)
- sed -Ee 's/(^[^<]*), [[:digit:]]+ .*months?)/\1)/' |
+ sed -re 's/(^[^<]*), [[:digit:]]+ .*months?\)/\1)/' |
# Line columns up based on } delimiter
column -s '}' -t |
# Page only if we need to

0 comments on commit 10d8315

Please sign in to comment.