git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Very limited pathspec wildcards..

From
Junio C Hamano <junkio@cox.net>
Date
Aug 3, 2005, 19:02 UTC
Message-ID
<7voe8ec08j.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.58.0508031038320.3258@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 7 quoted lines
> Btw, I'm not sure this is a wonderful idea. I found it useful for doing
>
> 	git-whatchanged -p drivers/scsi/aic7xxx/aic79xx*
>
> since I was interested in seeign if only that particular driver had had 
> changes. But it's hacky and pretty limited, so I throw this patch out more 
> as a "maybe others think it is a good idea" thing. 
Wouldn't something like this work equally well?
    #!/bin/sh
    git-whatchanged -r |
    sed -ne '
    /^:/s|aic7xxx/aic79xx|&|p
    /^:/d
    p' | git-diff-helper
Previous: Linus TorvaldsNext: Linus Torvalds
Message 2 of 3 in “Very limited pathspec wildcards..”
  1. Linus TorvaldsAug 3, 2005
  2. Junio C HamanoAug 3, 2005
  3. Linus TorvaldsAug 3, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.