Pass the output of git describe --tags to trac as well.
[git-central.git] / server / post-receive-trac
index 1cd5e9f..4748adc 100644 (file)
@@ -21,7 +21,8 @@ while read oldrev newrev refname ; do
 
        echo "$new_commits" | git rev-list --reverse --stdin | while read commit ; do
                set_describe "$commit"
-               "$PYTHON" "$POST_RECEIVE_TRAC" "$TRAC_ENV" "$short_refname" "$describe" "$commit"
+               set_describe_tags "$commit"
+               "$PYTHON" "$POST_RECEIVE_TRAC" "$TRAC_ENV" "$short_refname" "$describe" "$describe_tags" "$commit"
        done
 done