Fix gitc-init behavior
With gitc-init, a gitc client may be specified using '-c'. If we're not currently in that client, we need to change directories so that we don't affect the local checkout, and to ensure that repo is checked out in the new client. This also makes '-c' optional if already in a gitc client, to match the rest of the init options. Change-Id: Ib514ad9fd101698060ae89bb035499800897e9bd
This commit is contained in:
parent
4c5f74e452
commit
745b4ad660
5 changed files with 119 additions and 25 deletions
1
tests/fixtures/gitc_config
vendored
Normal file
1
tests/fixtures/gitc_config
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
gitc_dir=/test/usr/local/google/gitc
|
Loading…
Add table
Add a link
Reference in a new issue