Re: setup_git_directory_gently contract question?
- From
Ciprian Dorin Craciun <ciprian.craciun@gmail.com>
- Date
- May 27, 2008, 14:35 UTC
- Message-ID
- <8e04b5820805270735m24ae4966x932ae610606d6e64@mail.gmail.com>
- In-Reply-To
- <8e04b5820805270710v3a06e5c2if2dcf3b94ef40c1f@mail.gmail.com>
Or another question: how can I obtain the git directory (.git) (absolute) path without updating the current working directory?
Thanks,
Ciprian Craciun.On Tue, May 27, 2008 at 5:10 PM, Ciprian Dorin Craciun <ciprian.craciun@gmail.com> wrote:
Show 10 quoted lines
> Is the function setup_git_directory_gently supposed to change the > current working directory, or should it keep the initial one? > What is the meaning of nongit_ok? > > Because if I use nongit_ok != NULL, but *nongit_ok == 1, this > function changes the current working directory to the top of the > worktree directory. > > Thanks, > Ciprian Craciun.