Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Commit hook annoyance
@ 2015-01-16 15:59 Eli Zaretskii
  2015-01-16 16:10 ` H.J. Lu
  2015-01-16 16:18 ` Joel Brobecker
  0 siblings, 2 replies; 7+ messages in thread
From: Eli Zaretskii @ 2015-01-16 15:59 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

Is this really necessary?

  $ git push
  Counting objects: 94, done.
  Compressing objects: 100% (4/4), done.
  Writing objects: 100% (4/4), 742 bytes | 0 bytes/s, done.
  Total 4 (delta 3), reused 0 (delta 0)
  remote: *** Pattern "Conflicts:" has been detected.
  remote: *** (in commit 7fa8e2a29c9357024d21bdf09faa5cb930a4ffe5)
  remote: ***
  remote: *** This usually indicates a merge commit where some merge conflicts
  remote: *** had to be resolved, but where the "Conflicts:" section has not
  remote: *** been deleted from the revision history.
  remote: ***
  remote: *** Please edit the commit's revision history to either delete
  remote: *** the section, or to avoid using the pattern above by itself.
  remote: error: hook declined to update refs/heads/gdb-7.9-branch
  To git+ssh://sourceware.org/git/binutils-gdb.git
   ! [remote rejected] gdb-7.9-branch -> gdb-7.9-branch (hook declined)
  error: failed to push some refs to 'git+ssh://sourceware.org/git/binutils-gdb.git'

There  was no unresolved conflicts in the commit I tried to push.  Why
does the hook insist on forcing me to remove the "Conflicts:" part,
instead of looking for the merge-commit conflict markers?  Why do we
care about leaving the reference to original conflicts in the log?


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-16 17:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-16 15:59 Commit hook annoyance Eli Zaretskii
2015-01-16 16:10 ` H.J. Lu
2015-01-16 16:38   ` Eli Zaretskii
2015-01-16 16:18 ` Joel Brobecker
2015-01-16 16:26   ` Joel Brobecker
2015-01-16 16:42   ` Eli Zaretskii
2015-01-16 17:45     ` Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox