"pass git init" fails because "git -C" not supported in current git release

John Wilkes john at wilkes.com
Fri Nov 23 18:24:16 CET 2018


Thanks!

It's a fresh Centos 7 install, and (silly me) I assumed that it has the
latest git version...

John Wilkes
john at wilkes.com

On 11/23/2018 09:07 AM, Joel Pettersson wrote:
> git 1.8 was originally released over six years ago [1]. See if you can
> find a more recent version. For instance, Debian stable currently has
> git 2.11 [2].
>
> [1]: https://en.wikipedia.org/wiki/Git#Releases
> [2]: https://packages.debian.org/stretch/git
>
> On fre, Nov 23, 2018 at 6:00 PM, John Wilkes <john at wilkes.com> wrote:
>> I am a pass noob; apologies if this has been asked and answered already,
>> but I didn't see a way to easily search the list archives.
>>
>> Looks like the git "-C" option is not in the latest version of git.
>> Initializing the password store as a git repository fails:
>>
>> $ pass git init
>> 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>]
>> $ git --version
>> git version 1.8.3.1
>> $ pass version
>> ============================================
>> = pass: the standard unix password manager =
>> =                                          =
>> =                  v1.7.3                  =
>> =                                          =
>> =             Jason A. Donenfeld           =
>> =               Jason at zx2c4.com            =
>> =                                          =
>> =      http://www.passwordstore.org/       =
>> ============================================
>>
>>
>>
>> -- 
>> John Wilkes
>> john at wilkes.com
>>
>> _______________________________________________
>> Password-Store mailing list
>> Password-Store at lists.zx2c4.com
>> https://lists.zx2c4.com/mailman/listinfo/password-store
>



More information about the Password-Store mailing list