I finally got around to solve the "not a git repository" issue with my previous pull request. For the analysis see below. Please review and try it out before merging. When the script is run as a hook, the environment variable Since GIT_DIR caused the trouble, why not use it to detect whether the script is run as a hook... You can view, comment on, or merge this pull request online at:https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/227 Commit Summary
File Changes
Patch Links:
— |
@j4yk, can you tell me whether this is still relevant? — |
In reply to this post by David T Lewis
Well I guess so for the benefits outlined in #213. But I cannot check now whether anything has changed in the baseline script in the meanwhile. Has anyone tried it, to avoid that it only works on my machine? — |
In reply to this post by David T Lewis
@j4yk can you rebase onto Cog or merge Cog into here? let's see to get this going — |
In reply to this post by David T Lewis
Merged #227 into Cog. — |
In reply to this post by David T Lewis
Hi Tobias, I tried the resolve thru github which is a bit scary but OK for such simple change. — |
In reply to this post by David T Lewis
Now that this has been merged, do not forget to run the script manually once in order to update your local hooks. Otherwise, you local copy will still be using — |
In reply to this post by David T Lewis
@fniephaus We should ping vm-dev regarding that — |
In reply to this post by David T Lewis
First, Jakob, huge thanks for this. The weird symptoms of getting merge conflicts appearing in certain files after each push has disappeared. Second, I did apply the script manually but it made no alterations to sqSCCSVersion.h in my case (it was already localized to my machine). So it may not be necessary to run it, but it does no harm. — |
In reply to this post by David T Lewis
The behavior with regard to — |
Free forum by Nabble | Edit this page |