From: Junio C Hamano <gitster@pobox.com>
To: Nanako Shiraishi <nanako3@lavabit.com>
Cc: Anders Melchiorsen <mail@cup.kalibalik.dk>, git@vger.kernel.org
Subject: Re: [PATCH] Documentation: diff-filter=T only tests for symlink changes
Date: Sat, 18 Oct 2008 11:37:57 -0700 [thread overview]
Message-ID: <7viqrpbvga.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: 20081018224045.6117@nanako3.lavabit.com
Nanako Shiraishi <nanako3@lavabit.com> writes:
> Quoting Anders Melchiorsen <mail@cup.kalibalik.dk>:
>
>> diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
>> index 7788d4f..7604a13 100644
>> --- a/Documentation/diff-options.txt
>> +++ b/Documentation/diff-options.txt
>> @@ -137,7 +137,7 @@ endif::git-format-patch[]
>> --diff-filter=[ACDMRTUXB*]::
>> Select only files that are Added (`A`), Copied (`C`),
>> Deleted (`D`), Modified (`M`), Renamed (`R`), have their
>> - type (mode) changed (`T`), are Unmerged (`U`), are
>> + type (symlink/regular file) changed (`T`), are Unmerged (`U`), are
>> Unknown (`X`), or have had their pairing Broken (`B`).
>> Any combination of the filter characters may be used.
>> When `*` (All-or-none) is added to the combination, all
>> --
>> 1.6.0.2.514.g23abd3
>
> Are symlinks and regular files the only kind of object you can see in
> diff? What happens when a file or directory changes to a submodule?
Oops. I've already applied Anders's patch, but you are right. A change
from a blob to submodule also shows up as a typechange event.
Perhaps we should just remove the parenthesised comment from there
instead. I'll rewind and rebuild, as I haven't pushed the results out
yet (lucky me).
next prev parent reply other threads:[~2008-10-18 18:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-15 18:42 --diff-filter=T does not list x changes Anders Melchiorsen
2008-10-16 10:22 ` Jeff King
2008-10-17 2:00 ` Junio C Hamano
2008-10-17 7:08 ` Anders Melchiorsen
2008-10-17 8:29 ` Junio C Hamano
2008-10-17 19:33 ` Anders Melchiorsen
2008-10-17 23:58 ` Junio C Hamano
2008-10-18 8:49 ` [PATCH] Documentation: diff-filter=T only tests for symlink changes Anders Melchiorsen
2008-10-18 13:40 ` Nanako Shiraishi
2008-10-18 18:37 ` Junio C Hamano [this message]
2008-10-18 18:08 ` Junio C Hamano
2008-10-19 1:04 ` Nanako Shiraishi
2008-10-19 10:29 ` Anders Melchiorsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7viqrpbvga.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=mail@cup.kalibalik.dk \
--cc=nanako3@lavabit.com \
/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.
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 NNTP newsgroup(s).