Thanks. just what I was looking for. Could I rephrase what you said
into this slightly more elaborate statement?

If `git rev-parse --is-inside-work-tree` returns the string 'true',
one of the directories in my $PWD path contains a .git subdirectory.
This is the root of my repository.

hmm...I wonder if git modules would break this?
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to