Re: [WIP PATCH 01/18] rev-parse: add --internal-cwd and --internal-git-dir for tests
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Oct 25, 2010, 10:15 UTC
- Message-ID
- <m339ruk284.fsf@localhost.localdomain>
- In-Reply-To
- <AANLkTimfDVPFK7y-bkg-QYsTyHKdoxmvZxzzt36w95r5@mail.gmail.com>
Nguyen Thai Ngoc Duy <pclouds@gmail.com> writes:
> 2010/10/24 Jonathan Nieder <jrnieder@gmail.com>:
Show 10 quoted lines
> > I think it might: just like the exec: lines provide context about what > > command is being traced, such trace: cwd: lines would make it clearer > > what paths that are being output might be referring to. > > Also prefix them all with "setup:", something like > > setup: git_dir: ../.git > setup: work_tree: /my/git/worktree > setup: cwd: /my/git/worktree > setup: prefix: sub/
I guess that those paths would be c-quoted, if necessary (trailing space, embedded newline, quotes, etc.)?
-- Jakub Narebski Poland ShadeHawk on #git