Subject: Post commits not pushed on new branch creation (only on subsequent pushes)

Original Post rsanheim's Avatar

rsanheim

21 Sep, 2009 05:12 AM

Hi

Over at RunCodeRun we've noticed that new branches don't get pushed to post-commit urls, although the very next push on the branch does come through. Is this expected behavior?

Thanks,

Rob

  1. Support Staff 2 Posted by Tekkub on 21 Sep, 2009 05:58 AM

    Tekkub's Avatar

    It is the current design, I'd like to change it though. The problem is when a new branch is pushed, git doesn't tell the script what commits are new. It simply says the branch went from no commits to commit X. My workaround is to push the branch immediately when you create it, before you commit to it. Then all following commits will fire off hooks.

Comments are currently closed for this discussion. You can start a new one.

Recent Discussions

25 Nov, 2009 03:07 AM
25 Nov, 2009 01:41 AM
25 Nov, 2009 01:27 AM
24 Nov, 2009 10:56 PM
24 Nov, 2009 10:54 PM