Title: git doesn't support "-C" args under 1.8.5 occurs in
Type: Stage:
Components: Versions: Python 3.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Yuan Liu, eitan.adler
Priority: normal Keywords:

Created on 2017-05-20 09:29 by Yuan Liu, last changed 2018-05-16 07:44 by eitan.adler.

Pull Requests
URL Status Linked Edit
PR 1679 closed python-dev, 2017-05-20 09:46
PR 1680 open python-dev, 2017-05-20 10:09
Messages (1)
msg294021 - (view) Author: Yuan Liu (Yuan Liu) * Date: 2017-05-20 09:29
git doesn't support "-C" args under 1.8.5 occurs in

as I noticed from git release notes in 1.8.5: 

 * Just like "make -C <directory>", "git -C <directory> ..." tells Git
   to go there before doing anything else.

So we should have some conditional statements in around git checkpoint, otherwise we got error message which is :

Unknown option: -C
usage: git [--version] [--help] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]
Date User Action Args
2018-05-16 07:44:14eitan.adlersetnosy: + eitan.adler
2017-05-20 10:09:03python-devsetpull_requests: + pull_request1775
2017-05-20 09:46:27python-devsetpull_requests: + pull_request1774
2017-05-20 09:29:22Yuan Liucreate