git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Phil Hord <phil.hord@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Vincent van Ravesteijn <vfr@lyx.org>,
	git@vger.kernel.org, martin.von.zweigbergk@gmail.com
Subject: Re: [PATCH] Documentation/git-rerere: document 'remaining' command
Date: Wed, 7 Mar 2012 17:10:48 -0500	[thread overview]
Message-ID: <CABURp0rOFgwLu0pX0W5txOH=CH6Yb4NchYLaj91m1nMve_zjDg@mail.gmail.com> (raw)
In-Reply-To: <7vwr6xsfbn.fsf@alter.siamese.dyndns.org>

On Tue, Mar 6, 2012 at 2:24 PM, Junio C Hamano <gitster@pobox.com> wrote:
> Vincent van Ravesteijn <vfr@lyx.org> writes:
>
>> From: Vincent van Ravesteijn <vfr@lyx.org>
>>
>> This adds the 'remaining' command to the documentation of
>> 'git rerere'. This command was added in ac49f5ca (Feb 16 2011;
>> Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>) but
>> it was never documented.
>>
>> Signed-off-by: Vincent van Ravesteijn <vfr@lyx.org>
>> ---
>>  Documentation/git-rerere.txt |   10 +++++++++-
>>  1 files changed, 9 insertions(+), 1 deletions(-)
>>
>> diff --git a/Documentation/git-rerere.txt b/Documentation/git-rerere.txt
>> index a6253ba..b75d34b 100644
>> --- a/Documentation/git-rerere.txt
>> +++ b/Documentation/git-rerere.txt
>> @@ -8,7 +8,7 @@ git-rerere - Reuse recorded resolution of conflicted merges
>>  SYNOPSIS
>>  --------
>>  [verse]
>> -'git rerere' ['clear'|'forget' <pathspec>|'diff'|'status'|'gc']
>> +'git rerere' ['clear'|'forget' <pathspec>|'diff'|'remaining'|'status'|'gc']
>>
>>  DESCRIPTION
>>  -----------
>> @@ -53,6 +53,14 @@ useful for tracking what has changed while the user is resolving
>>  conflicts.  Additional arguments are passed directly to the system
>>  'diff' command installed in PATH.
>>
>> +'remaining'::
>> +
>> +Like 'diff', but this only prints the unresolved filenames. This
>
[...]
>
>        'remaining'::
>
>        Print paths with conflicts that are not resolved.
>
> Should be sufficient, I think.
>
> In fact, wouldn't this be more or less equivalent to "ls-files -u"
> without anything other than name part?

No.  When using  --no-rerere-autoupdate, git does not add autoresolved
files to the index; it fixes them only in your working directory.
'ls-files -u' still lists them as unresolved.  'rerere remaining' does
not list these autoresolved files.  'mergetool' uses this command to
avoid asking the user to resolve files which git rerere already
resolved for her.

ac49f5ca8 has a pretty complete description, though it may be a bit
too wordy for the the up-front synopsis.
2f59c9470 has a more complete justification.

Phil

  reply	other threads:[~2012-03-07 22:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06 12:21 [PATCH] Documentation/git-rerere: document 'remaining' command Vincent van Ravesteijn
2012-03-06 19:24 ` Junio C Hamano
2012-03-07 22:10   ` Phil Hord [this message]
2012-03-07 22:24     ` Junio C Hamano
2012-03-08  3:08       ` Phil Hord
2012-03-08  5:23         ` Junio C Hamano
2012-03-08 21:08           ` Phil Hord
2012-03-08 22:30             ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABURp0rOFgwLu0pX0W5txOH=CH6Yb4NchYLaj91m1nMve_zjDg@mail.gmail.com' \
    --to=phil.hord@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=martin.von.zweigbergk@gmail.com \
    --cc=vfr@lyx.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).