Subject: Post-Receive URL hooks incorrect data?
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.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Tekkub on 30 Apr, 2009 08:56 PM
...
Yea that hook data certainly looks wrong. if you see it again could you paste the entire JSON payload?
3 Posted by Beamer on 30 Apr, 2009 09:14 PM
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!
4 Posted by Beamer on 30 Apr, 2009 09:25 PM
Not sure if that png worked. Here's my output for git status before the commit:
5 Posted by Beamer on 11 May, 2009 08:58 PM
Bumpstrs
Support Staff 6 Posted by defunkt on 19 May, 2009 05:19 PM
I pushed out a fix for this, please try later today or tomorrow and let me know if it worked.
Cheers,
Chris
7 Posted by Beamer on 19 May, 2009 05:46 PM
Excellent - can't wait.