From: "Boyd Stephen Smith Jr." <bss@iguanasuicide.net>
To: Alan <alan@clueserver.org>
Cc: git@vger.kernel.org
Subject: Re: How can I restrict git-diff to a specific set of directories?
Date: Tue, 13 Jan 2009 18:02:29 -0600 [thread overview]
Message-ID: <200901131802.33879.bss@iguanasuicide.net> (raw)
In-Reply-To: <1231890543.31432.5.camel@rotwang.fnordora.org>
[-- Attachment #1: Type: text/plain, Size: 592 bytes --]
On Tuesday 2009 January 13 17:49:03 Alan wrote:
>I need to generate a diff
>between one commit and another, but only for the contents of a specific
>directory.
>
>I am not finding a real straightforward way to do that.
I think:
git diff one_commit another -- specific/directory
is supposed to do what you want. However, I've never used it myself.
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2009-01-14 0:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-13 23:49 How can I restrict git-diff to a specific set of directories? Alan
2009-01-14 0:02 ` Björn Steinbrink
2009-01-14 0:33 ` Alan
2009-01-14 0:02 ` Boyd Stephen Smith Jr. [this message]
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=200901131802.33879.bss@iguanasuicide.net \
--to=bss@iguanasuicide.net \
--cc=alan@clueserver.org \
--cc=git@vger.kernel.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox