Skip to content

Make git more user-friendly during a merge conflict

Andrew Wong git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3wt-status: Make status messages more consistent with otherswt-status.c+10 -101 reply
2/3merge: Advise user to use "git merge --abort" to abort mergesDocumentation/config.txt advice.c advice.h +2 more+15 -01 reply
3/3reset: Print a warning when user uses "git reset" during a mergebuiltin/reset.c+21 -06 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Make git more user-friendly during a merge conflict

2/3: I've added advice.mergeHints to silent the messages that suggests "git merge--abort".

3/3: I've added a warning message when users used "git reset" during a merge. This warning will be printed if the user is in the middle of a merge. In future releases, we'll change this into an error to prevent work tree from becoming a mess.

Andrew Wong (3):
wt-status: Make status messages more consistent with others
merge: Advise user to use "git merge --abort" to abort merges
reset: Print a warning when user uses "git reset" during a merge

 Documentation/config.txt |  3 +++
 advice.c                 |  2 ++
 advice.h                 |  1 +
 builtin/merge.c          |  6 ++++++
 builtin/reset.c          | 21 +++++++++++++++++++++
 wt-status.c              | 23 +++++++++++++----------
 6 files changed, 46 insertions(+), 10 deletions(-)
Signature · 1 line
1.9.0.174.g6f75b8f