This is the mail archive of the
mailing list for the GDB project.
Re: Commit hook annoyance
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 16 Jan 2015 18:41:38 +0200
- Subject: Re: Commit hook annoyance
- Authentication-results: sourceware.org; auth=none
- References: <83ppae1zsq dot fsf at gnu dot org> <20150116161841 dot GS8167 at adacore dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 16 Jan 2015 20:18:41 +0400
> From: Joel Brobecker <email@example.com>
> Cc: firstname.lastname@example.org
> There is a commit whose revision log has a line that has "Conflict:"
> in its revision log. This usually happens when you cherry-pick
> a commit, resolve merge conflicts, and then commit again. Git
> decides to append a section at the end off the new revision log
> which lists the files where there were some conflicts.
Yes, that's what happened. Quite normal.
> In our experience at AdaCore, these are useless, and people often
> don't even notice them. Hence the check.
Being useless doesn't mean harmful. (I do notice that part, but I'm
used to leaving it there.) Rejecting a push is an annoyance I'd
rather do without. Moreover, that line is a record of the fact that
there was a conflict, which might be useful one day.
So how about removing that particular reason for rejecting a push?