24 ms·
This seems like a very useful tool, and it provides useful information on our repository. But in RHEL7 it gives this error: error: couldn't open Git repository
by harshbutfair 9y ago
This seems like a very useful tool, and it provides useful information on our repository.
But in RHEL7 it gives this error:
error: couldn't open Git repository: git rev-parse failed: Unknown option: -C
I assume it requires a later version of git.
- jwilk 9y agogit-sizer uses the -C option, which was added in git v1.8.5: https://github.com/git/git/commit/44e1e4d67d5148c245db362cc48c3cc6c2ec82ca https://github.com/git/git/commit/44e1e4d67d5148c245db362cc4... RHEL7 ships with git v1.8.3.1. There might be other compatiblity issues, e.g.: https://github.com/github/git-sizer/issues/18 https://github.com/github/git-sizer/issues/18
- deadbunny 9y agoIf you need modern (but stable and maintained by Rackspace) packages in CentOS check out https://ius.io/ https://ius.io/