Skip to content

Conversation

@afcuttin
Copy link

@afcuttin afcuttin commented Sep 2, 2020

I've added an additional GINDIR variable so that the script knows where the .git folder is if it is called not from the root folder of the project.

This solves the problem I've encountered while using gitinfo2 together with git-subrepo, as documented here: ingydotnet/git-subrepo#499

I've added an additional `GINDIR` variable so that the script knows where the `.git` folder is if it is called not from the root folder of the project.

This solves the problem I've encountered while using `gitinfo2` together with `git-subrepo`, as documented here: ingydotnet/git-subrepo#499
firsttagdescribe={$FIRSTTAG},
reltag={$RELTAG}
]{gitexinfo}" HEAD > .git/gitHeadInfo.gin
]{gitexinfo}" HEAD > $GINDIR/gitHeadInfo.gin
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"$GINDIR" should be used, to allow for path with spaces

@koppor
Copy link

koppor commented Mar 13, 2022

Please note that according to CTAN the original maintainer passed away: https://ctan.org/author/longborough. 🖤

Since the package is released as LPPL, one can take over maintainer ship. - Maybe you would like to take over? 🤩

@josephwright
Copy link

This repository is no longer active: please re-report issues at https://github.com/josephwright/gitinfo2/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants