-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue initializing repository #1
Comments
I don't know which the lowest git version is that would fully support these git hooks, but I developed this software for git 2.30 and newer. if this is the only incompatibility with 2.17 (which I'm not sure whether that's the case), then you can get it to work by simply replacing line 133 in timestamping
with
|
Thanks this solve partially the issue, now I get the following:
|
|
I see thanks! |
Hi,
|
That's weird. Are you sure it's executing in that shell? what system are you on? |
The system is mac os 10.13.6, I have updated bash with
|
I have repeated all the steps with updated bash and git, initializing the repo with sha256 but I get exactly the same error posted above. |
That is strange. Name references (the -n argument for declare and local) were introduced with bash-4.3, so my best bet currently is that when you commit, git for some reason doesn't actually use your installed bash version. |
What's happening is Error is printed from this line GitTrustedTimestamps/hooks/timestamping Line 355 in 062e222
GitTrustedTimestamps/hooks/timestamping Line 135 in 062e222
I was missing |
Hello,
I'm trying to use your project, I like it a lot, to initialize a new git repository.
I cannot use the object format to sha256 because I have git version 2.17.
Anyway, I have initialized the repository and followed your step up to step 2.
At step 3 I get the following error when I run your script:
Could it be an issue with the git version?
Thanks
The text was updated successfully, but these errors were encountered: