git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git status confusing message while conflicts in interactive rebase
@ 2019-01-24 21:15 Nikita Bobko
  0 siblings, 0 replies; only message in thread
From: Nikita Bobko @ 2019-01-24 21:15 UTC (permalink / raw)
  To: git

When have conflict in interactive rebase then git write such message:
    Auto-merging hey
    CONFLICT (content): Merge conflict in hey
    error: could not apply cd79304... 4
    Resolve all conflicts manually, mark them as resolved with
    "git add/rm <conflicted_files>", then run "git rebase --continue".
    You can instead skip this commit: run "git rebase --skip".
    To abort and get back to the state before "git rebase", run "git
rebase --abort".
    Could not apply cd79304... 4

 So git have conflict while trying to apply cd79304... 4. But `git
status` shows this message:
    interactive rebase in progress; onto a6c8075
    Last commands done (2 commands done):
       pick 0da8253 2
       pick cd79304 4
    Next command to do (1 remaining command):
       pick 47d5ec2 3
      (use "git rebase --edit-todo" to view and edit)
    You are currently rebasing branch 'master' on 'a6c8075'.
      (fix conflicts and then run "git rebase --continue")
      (use "git rebase --skip" to skip this patch)
      (use "git rebase --abort" to check out the original branch)

    Unmerged paths:
      (use "git reset HEAD <file>..." to unstage)
      (use "git add <file>..." to mark resolution)

    both modified:   hey

    no changes added to commit (use "git add" and/or "git commit -a")

And there it said that "cd79304 4" is already picked and it's in
section "Last commands done". So it's a little bit confusing.
Maybe it's better to exclude commit on which user has conflict from
"Last commands done" section. And write separate sentence containing
message like "Conflict on cd79304 4".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-24 21:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-24 21:15 git status confusing message while conflicts in interactive rebase Nikita Bobko

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).