Re: How do I qualify paths in the .gitignore file w.r.t. the repo root directory?
- From
Sitaram Chamarty <sitaramc@gmail.com>
- Date
- Feb 25, 2009, 04:01 UTC
- Message-ID
- <slrngq9glm.l8b.sitaramc@sitaramc.homelinux.net>
- In-Reply-To
- <e38bce640902241714s720a4e23v49e0a4ab22da9bde@mail.gmail.com>
On 2009-02-25, Brent Goodrick <bgoodr@gmail.com> wrote:
> apparently such is not the case with git (and I conclude from this > that it is actually not possible to store fully qualified paths > _unless_ the $GIT_DIR is right under the root filesystem). This isn't > a problem for me, and probably not for most folks, but it was
I suspect it's not _useful_ also, because it would prevent you from relocating your git work tree to some other path while getting predictable results. I'm unable to think of a use-case where that would be desirable, but I admit I haven't thought about it too much.
> confusing to me the way it was written in the man page.
If you could look at either of my two submissions in this thread, and comment on whether they would have helped you in this regard, I'd appreciate it very much.
I prefer the second one that I sent, but don't let that prejudice you ;-)