Subject: Post-Receive URL hooks incorrect data?

Original Post Beamer W.'s Avatar

Beamer W.

30 Apr, 2009 11:59 AM

Hey guys,

So I'm noticing a weird bug in my post-receive URL.

For my test scenario, I've added a new file, modified one file, and deleted one file.

Here's my commit: http://github.com/BeamerCola/test/commit/160c0b9c8556cb346ad06b1072d94ca0553e1098

My JSON came back as: {"added": [], "added": [], "modified": ["letters.txt", "numbers.txt"], ... }

Which is clearly not right. I might also note, it's 4:52 AM and I've been up for 20 hours, and I just ran really far really fast, as seen in the most recent commit message: http://github.com/BeamerCola/test/commit/8a594417b669ca20e59ab48ca878bb2d622314be

Thank youuuu.

  1. Support Staff 2 Posted by Tekkub on 30 Apr, 2009 08:56 PM

    Tekkub's Avatar

    ...

    Yea that hook data certainly looks wrong. if you see it again could you paste the entire JSON payload?

  2. 3 Posted by Beamer on 30 Apr, 2009 09:14 PM

    Beamer  's Avatar

    Okay so I recreated the test, took a screenshot of my local git status, and save the payload out to a file for you.

    Here's the commit for reference: http://github.com/BeamerCola/test/commit/74f3841640f4edb4f05d1a9b323af6e35f85507c

    Thanks!

  3. 4 Posted by Beamer on 30 Apr, 2009 09:25 PM

    Beamer's Avatar

    Not sure if that png worked. Here's my output for git status before the commit:

    # On branch master
    # Changes to be committed:
    #   (use "git reset HEAD <file>..." to unstage)
    #
    #   new file:   add.txt
    #   modified:   colors.txt
    #   deleted:    letters.txt
    #
    
  4. 5 Posted by Beamer on 11 May, 2009 08:58 PM

    Beamer  's Avatar

    Bumpstrs

  5. Support Staff 6 Posted by defunkt on 19 May, 2009 05:19 PM

    defunkt's Avatar

    I pushed out a fix for this, please try later today or tomorrow and let me know if it worked.

    Cheers,

    Chris

  6. 7 Posted by Beamer on 19 May, 2009 05:46 PM

    Beamer's Avatar

    Excellent - can't wait.

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