When merging changes into a dirty working copy, one may get
..
Updating 62a005d..7bbd698
Makefile: needs update
README: needs update
config.mak.in: needs update
configure.ac: needs update
fatal: Entry 'Makefile' not uptodate. Cannot merge.
..
This is bad error message; "uptodate" suggests that Makefile is too old.
The problem is the reverse. The Makefile has been
edited and hence it is 'newer'.
This message should say
Entry 'Makefile' is dirty.
Revert or commit changes before merging
--
Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
We had an email on this list, where the poster said he could not merge
with Git. It turned out that the merge failed with conflicts, but he
did not bother reading through the messages, apparently because they were
too many.
Some of that stems from the "pipeline" model / implementation of git
commands, where every separate stage spews it's own warning and error
messages.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Actually, I like it that short.
We had an email on this list, where the poster said he could not merge
with Git. It turned out that the merge failed with conflicts, but he
did not bother reading through the messages, apparently because they were
too many.
Actually, I like it that short.
We had an email on this list, where the poster said he could not merge
with Git. It turned out that the merge failed with conflicts, but he
did not bother reading through the messages, apparently because they were
too many.
Ciao,
Dscho
From: Johannes Schindelin <hidden> Date: 2016-08-11 20:24:11
Hi,
On Wed, 6 Dec 2006, Han-Wen Nienhuys wrote:
When merging changes into a dirty working copy, one may get
..
Updating 62a005d..7bbd698
Makefile: needs update
README: needs update
config.mak.in: needs update
configure.ac: needs update
fatal: Entry 'Makefile' not uptodate. Cannot merge.
..
This is bad error message; "uptodate" suggests that Makefile is too old.
The problem is the reverse. The Makefile has been
edited and hence it is 'newer'.
Something like this?
-- snip --
[PATCH] Replace "needs update" by "dirty; needs commit"
This should clarify why a merge was not even started.
Signed-off-by: Johannes Schindelin <redacted>
---
read-cache.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)