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

2014-03-19 Thread Junio C Hamano
Andrew Wong andrew.k...@gmail.com writes:

 On Mon, Mar 17, 2014 at 7:04 PM, Junio C Hamano gits...@pobox.com wrote:
 Has this series been tested with existing test suite? ...
 I tested it during RFC, but missed it when I sent it as patch.
 ...
 I'll fix the problem. Sorry about that.

Thanks.  Will hold onto the topic branch lest I forget, but will
keep it out of 'pu' in the meantime.

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2014-03-17 Thread Junio C Hamano
Andrew Wong andrew.k...@gmail.com writes:

 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(-)

Has this series been tested with existing test suite?  I tentatively
queued it to 'pu' but then had to revert because many tests started
failing, causing me to redo the today's integration cycle for 'pu'
once again.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2014-03-17 Thread Andrew Wong
On Mon, Mar 17, 2014 at 7:04 PM, Junio C Hamano gits...@pobox.com wrote:
 Has this series been tested with existing test suite?  I tentatively
 queued it to 'pu' but then had to revert because many tests started
 failing, causing me to redo the today's integration cycle for 'pu'
 once again.

I tested it during RFC, but missed it when I sent it as patch. The
problem is here:

@@ -1559,6 +1563,8 @@ int cmd_merge(int argc, const char **argv, const
char *prefix)
if (merge_was_ok)
fprintf(stderr, _(Automatic merge went well; 
stopped before committing as requested\n));
+   if (advice_merge_hints)
+   printf(_(  (use \git merge --abort\ to abort the merge)\n));
else
ret = suggest_conflicts(option_
renormalize);

I'll fix the problem. Sorry about that.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html