git.droids-corp.org
/
git-central.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Handle double posting when multiple branches are pointing to the same commit.
[git-central.git]
/
server
/
post-receive-trac
1
#!/bin/sh
2
3
. $(dirname $0)/functions
4
5
while read oldrev newrev refname ; do
6
set_new_commits
7
echo "$new_commits" | git rev-list --reverse --stdin | while read commit ; do
8
"$PYTHON" "$POST_RECEIVE_TRAC" "$TRAC_ENV" "$commit"
9
done
10
done
11
12
exit 0
13