summaryrefslogtreecommitdiffstats
path: root/subcmds/gitc_init.py
diff options
context:
space:
mode:
authorKevin Degi <kdegi@codeaurora.org>2014-11-12 11:27:45 -0700
committerKevin Degi <kdegi@codeaurora.org>2015-07-29 14:44:46 -0600
commitabaa7f312f1b6c8d11d7c757fe909900ce5788b5 (patch)
tree2eba7244f267c9df33510a820b5353da1d7722cd /subcmds/gitc_init.py
parent7cccfb2cf0ed1ed14f6b8a5bdb36459ebcb4db5a (diff)
downloadgit-repo-abaa7f312f1b6c8d11d7c757fe909900ce5788b5.tar.gz
Add option to correct gitdir when syncingv1.12.25
In some cases, a user may wish to continue with a sync even though it would require overwriting an existing git directory. This behavior is not safe as a default because it could result in the loss of some user data, but as an optional flag it allows the user more flexibility. To support this, add a --force-sync flag to the sync command that will attempt to overwrite the existing git dir if it is specified and the existing git dir points to the wrong obj dir. Change-Id: Ieddda8ad54e264a1eb4a9d54881dd6ebc8a03833
Diffstat (limited to 'subcmds/gitc_init.py')
0 files changed, 0 insertions, 0 deletions