Skip to content
This repository has been archived by the owner on Jun 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1 from era7bio/sed-bugfix
Browse files Browse the repository at this point in the history
Corrected sed option to reduce spaces
  • Loading branch information
eparejatobes committed Jan 15, 2013
2 parents d524c8e + bfa69f4 commit a36d76f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-timetrack
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ done' > $githook
;;
timesince|-ts|--timesince)
current_date=$(date +%s)
last=$(git log --date=raw -n 1 | grep Date: | sed 's/ \+/ /g' | cut -d " " -f2)
last=$(git log --date=raw -n 1 | grep Date: | sed -E 's/ +/ /g' | cut -d " " -f2)
t=$(( current_date - last ))
git timetrack -s
git timetrack -e $(( $t / 60 ))
Expand Down

0 comments on commit a36d76f

Please sign in to comment.