Hacker News new | ask | show | jobs
by harshbutfair 3026 days 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.

1 comments

git-sizer uses the -C option, which was added in git v1.8.5:

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

If you need modern (but stable and maintained by Rackspace) packages in CentOS check out https://ius.io/