commit | 745b4ad660f8050045b521c4e15b7d3ac0b3d70e | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Tue Oct 06 15:23:19 2015 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Wed Oct 07 15:43:22 2015 -0700 |
tree | 643e836eafdde0c08e1eec540eab6ae23b2ef29e | |
parent | 4c5f74e4521679d1dcc31c575d417387b9c51c87 [diff] |
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