Support of old git version in pass application

Danh Doan congdanhqx at gmail.com
Wed Oct 16 15:15:31 CEST 2019


On 2019-10-16 14:08:48 +0300, Vascom wrote:
> Hi all.
> 
> I want to ask is pass able work with git versions without "-C" functional now?
> Because of that problem in pass 1.7.3 it was removed from EPEL7 repo
> and not available in RHEL/CentOS 7.

I think do a

sed 's/git -C/xgit/'

then add this function:

xgit() {
	cd "$1" || return 1
	shift
	git "$@"
}

could work with older version of git.

Not tested, though.

> 
> Please look at https://bugzilla.redhat.com/show_bug.cgi?id=1639806

-- 
Danh


More information about the Password-Store mailing list