Changes between Version 5 and Version 6 of GitTips


Ignore:
Timestamp:
Apr 17, 2015, 11:42:12 PM (3 years ago)
Author:
fdupont
Comment:

Fixed the prepare hook. The commit hook is clearly buggy...

Legend:

Unmodified
Added
Removed
Modified
  • GitTips

    v5 v6  
    88
    99BRANCH=`git branch | grep '^\*' | cut -b3- | sed -e 's/^trac//'`
    10 echo -n "[$BRANCH]" > "$1.msg"
     10/bin/echo -n "[$BRANCH] " > "$1.msg"
    1111cat "$1" >> "$1.msg"
    1212cat "$1.msg" > "$1"