Re: [PATCH] make rebase respect core.hooksPath if set
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 15, 2016, 12:24 UTC
- Message-ID
- <alpine.DEB.2.20.1608151422210.4924@virtualbox>
- In-Reply-To
- <CAKkAvaxWk6SK4EYPaWXHQoVBh9qLgHoEqAh9+dgOrjncsi5QyA@mail.gmail.com>
Hi ryenus,
On Sun, 14 Aug 2016, ryenus wrote:
> when looking for pre-rebase and post-rewrite hooks, git-rebase > only looks for hooks dir using `git rev-parse --git-path hooks`, > which didn't consider the path overridden by core.hooksPath.
Would it not be more appropriate to teach --git-path hooks to respect the core.hooksPath variable? This would be in line with --git-path objects respecting the GIT_OBJECT_DIRECTORY environment variable.
> Signed-off-by: ryenus <ryenus@gmail.com>
From https://github.com/git/git/blob/v2.9.3/Documentation/SubmittingPatches#L290-L291
> Also notice that a real name is used in the Signed-off-by: line. Please > don't hide your real name.
Thanks, Johannes