Skip to content
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

Fix/nfnd gitmessage #29

Merged
merged 4 commits into from
Jun 10, 2018
Merged

Fix/nfnd gitmessage #29

merged 4 commits into from
Jun 10, 2018

Conversation

Sarabadu
Copy link
Contributor

@Sarabadu Sarabadu commented Jun 5, 2018

fixed .gitmessage not found from sub directories

juanp.garcia and others added 4 commits June 4, 2018 21:04
Co-authored-by: Juan Pablo Garcia Ripa <juanp.garcia@bbva.com>
Co-authored-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
Co-authored-by: Juan Pablo Garcia Ripa <juanp.garcia@bbva.com>
Co-authored-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
Co-authored-by: Juan Pablo Garcia Ripa <juanp.garcia@bbva.com>
Co-authored-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
Co-authored-by: Juan Pablo Garcia Ripa <juanp.garcia@bbva.com>
Co-authored-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
@Sarabadu
Copy link
Contributor Author

Sarabadu commented Jun 5, 2018

fixed the branch mess sorry for that...
@rkotze

@dideler
Copy link
Contributor

dideler commented Jun 10, 2018

Hey @Sarabadu, thanks for the patch! I tested with git 2.7.4 and it works. I'll go ahead and merge this.

I'm wondering if, as a future improvement, we can avoid having to shell out (i.e. running another git process in a new shell to get the git version). If we switch to an absolute path for the commit template, we could have a solution that works in older git versions as well. E.g.

GIT_DIR=$(git rev-parse --git-dir) git rev-parse --git-path '.gitmessage'

Something for us to think about. Until then, this patch will work fine.

@dideler dideler merged commit 8075095 into rkotze:master Jun 10, 2018
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.

2 participants