git-sizer icon indicating copy to clipboard operation
git-sizer copied to clipboard

git-sizer error: "running 'git config': exit status 129"

Open pippim opened this issue 2 years ago • 4 comments

Not sure what the problem is. Downloaded zip file for Linux AMD 64 but get above error using:

$ git-sizer

error: running 'git config': exit status 129

It appears that git config has an invalid parameter but it is called by the git-sizer command which theoretically knows how to call the git command with the correct parameters?

If it helps:

$ type -a git
git is /usr/bin/git

$ type -a git-sizer
git-sizer is /home/rick/bin/git-sizer

$ git-sizer --version
git-sizer release 1.5.0

$ git --version
git version 2.7.4

Any suggestions would be appreciated as it would be nice to know how much GitHub resources my repo is consuming.

pippim avatar Dec 14 '21 01:12 pippim

I had the same problem running on Ubuntu 18.04.6 and git-sizer 1.5.0

git-sizer 1.4.0 works just fine

lastikas avatar Dec 27 '21 20:12 lastikas

Hello, @pippim, my suggestion is to upgrade your Git, and have a try again.

Cactusinhand avatar Dec 30 '21 02:12 Cactusinhand

@mhagger Apparently, to fix this issue, client Git should upgrade to a newer version, and README should update too.

Cactusinhand avatar Dec 30 '21 02:12 Cactusinhand

@Cactusinhand in Ubuntu-land, the folks at Canonical will sloowwwllllyyyy upgrade to the latest Git client version. Another Ubuntu user @lastikas suggested above that downgrading to Git version 1.4 will also work. It would be nice to have a "patch" for the error message in the current version 1.5 but I can wait until it eventually works in Ubuntu.

pippim avatar Jan 03 '22 16:01 pippim

If you're using ubuntu you can always use the git ppa to get an up to date version:

sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt upgrade

adam-azarchs avatar Dec 03 '22 01:12 adam-azarchs

I think that #105 should fix this problem, by avoiding the use of the newer git config features. Please let me know if it works for you! (For now you'll have to install and build it yourselves if you want to test it.)

mhagger avatar Dec 05 '22 11:12 mhagger

@mhagger Thank you. Successfully downgraded to version 1.4 now.

pippim avatar Dec 05 '22 21:12 pippim