Postreceive will never know about a fast-forward merge... every push is a
fast-forward to the remote side unless you use the --force flag, because the
remote rejects non-fast-forwards by default. The remote just knows that the
branch changed from shaA to shaB.
Tekkub
GitHub Tech Support
http://support.github.com/
Join us on IRC: #github on freenode.net
Discussion group: [email protected]
On Thu, Oct 29, 2009 at 12:46 PM, Peter Shenkin <[email protected]> wrote:
>
> I'd like my postreceive script to say something special when a merge
> from one branch to another was a fast-forward, rather than a merge
> commit.
>
> Is there any way to detect this condition?
>
> Thanks,
> -P.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---