git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git grep doesn't follow symbolic link
@ 2012-01-09 16:54 Bertrand BENOIT
  2012-01-10  5:56 ` Ramkumar Ramachandra
  0 siblings, 1 reply; 10+ messages in thread
From: Bertrand BENOIT @ 2012-01-09 16:54 UTC (permalink / raw)
  To: git

Hi,

I've not found information about that in documentation, so I do a report.

When using git grep, symbolic links are not followed.
Is it a wanted behavior ?

I've tested with a symbolic link:
 - 'ignored'
 - NOT staged for commit
 - to be commited
 - commited
Anytime -> no result when asking on symbolic link

Example:
# git grep foo mySrc
-> OK answer [...]

# ln -s mySrc test
# git grep foo test
-> KO: No answer

# git add test
# git grep foo test
-> KO: No answer

# git commit -m "DO NOT PUSH" test
# git grep foo test
-> KO: No answer

Best Regards,
Bertrand

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

end of thread, other threads:[~2012-01-17  6:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-09 16:54 git grep doesn't follow symbolic link Bertrand BENOIT
2012-01-10  5:56 ` Ramkumar Ramachandra
2012-01-10 10:00   ` Thomas Rast
2012-01-10 18:22     ` Junio C Hamano
2012-01-14  9:50       ` Nguyen Thai Ngoc Duy
2012-01-15  2:07         ` Junio C Hamano
2012-01-15  9:47           ` Nguyen Thai Ngoc Duy
2012-01-16 22:44             ` Junio C Hamano
2012-01-17  1:55               ` Nguyen Thai Ngoc Duy
2012-01-17  6:44                 ` Junio C Hamano

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).