Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git -C option is not yet available on git version 1.8.3.1 #19

Open
woyczek opened this issue Mar 30, 2020 · 2 comments
Open

git -C option is not yet available on git version 1.8.3.1 #19

woyczek opened this issue Mar 30, 2020 · 2 comments

Comments

@woyczek
Copy link

woyczek commented Mar 30, 2020

Unknown option: -C
usage: git [--version] [--help] [-c name=value]
[--exec-path[=]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=] [--work-tree=] [--namespace=]
[]
WARN: continuing with clone

@jonasmalacofilho
Copy link
Owner

jonasmalacofilho commented Apr 18, 2020

s/no more used/not yet available/

As mentioned in a comment on #20, git -C was only introduced in 1.8.5.

I can only find a handful of distros with git < 1.8.5. Of those, only CentOS 7 (which matches the git version you have) appears to not yet have reached EOL, but it will be entering "the Maintenance updates phase, only Security errata and select mission critical bug fixes will be released" by the end of year.

I closed #20 primarily due to lack of response, but (now that I figured by myself out why someone could be [reasonably] stuck on such an old version of git) I'll try to remember to include the fix next time I'm working on this codebase.

@jonasmalacofilho jonasmalacofilho changed the title git -C option is no more used on git version 1.8.3.1 git -C option is not yet available on git version 1.8.3.1 Apr 18, 2020
@jonasmalacofilho
Copy link
Owner

With #22, support for git 1.8.3.1 will now also require doing something about --prune-tags, which is a fairly recent addition to git.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants