Git development
 help / color / mirror / Atom feed
* How to use path limiting (using a glob)?
@ 2009-02-11 19:14 Peter Baumann
  2009-02-11 19:40 ` Linus Torvalds
  2009-02-11 19:48 ` Junio C Hamano
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Baumann @ 2009-02-11 19:14 UTC (permalink / raw)
  To: git

Hallo,

after reading Junio's nice blog today where he explained how to use git grep
efficiently, I saw him using a glob to match for the interesting files:

	 $ git grep -e ';;' -- '*.c'

Is it possible to have the same feature in git diff and the revision
machinery? Because I tried

	$ cd $path_to_your_git_src_dir
	$ git log master -p -- '*.h'
	.... No commit shown 

	$ git diff --name-only v1.5.0  v1.6.0 -- '*.c'

and both don't return anything.

Grettings,
Peter Baumann

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-02-12 11:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-11 19:14 How to use path limiting (using a glob)? Peter Baumann
2009-02-11 19:40 ` Linus Torvalds
2009-02-12 10:27   ` Peter Baumann
2009-02-12 11:09     ` Sitaram Chamarty
2009-02-11 19:48 ` Junio C Hamano
2009-02-11 21:09   ` Nanako Shiraishi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox