Changeset 2502 for trunk/scripts/git-hooks
- Timestamp:
 - Oct 12, 2009, 2:16:30 AM (16 years ago)
 - File:
 - 
          
- 1 edited
 
- 
          trunk/scripts/git-hooks/sub/zephyr-post-receive (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
trunk/scripts/git-hooks/sub/zephyr-post-receive
r2501 r2502 26 26 fi 27 27 while read oldrev newrev refname; do 28 git-rev-list --reverse "$oldrev..$newrev" | while read rev; do 28 if [ "$oldrev" = "0000000000000000000000000000000000000000" ]; then 29 # dammit git 30 zwrite -c "$class" -i "$(basename "$refname")" -s "${zsig:-Git}: $refname" -d \ 31 -m "New branch created." 32 continue 33 fi 34 git rev-list --first-parent --reverse "$oldrev..$newrev" | while read rev; do 29 35 shortrev=`git log -1 --pretty=format:%h "$rev"` 30 (git show --stat $usecolor "$rev" |36 (git show --stat -M $usecolor "$rev" | 31 37 sed -e 's/@/@@/g' \ 32 38 -e 's/}/@(})/g' \  
Note: See TracChangeset
          for help on using the changeset viewer.
      