Re: [PATCH] Install git-sh-setup.sh into $(prefix)/share/git-core. Call with explicit path.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Han-Wen Nienhuys <hanwen@...>
Cc: <git@...>
Date: Friday, December 8, 2006 - 3:37 pm

Han-Wen Nienhuys <hanwen@xs4all.nl> wrote:

This seems to break existing hooks, or at least old repositories can
be stuck using an old version of git-sh-setup in those hooks.

You could to add GIT_datadir to PATH before invoking hooks for existing
ones to work, or write some sort of conversion script...


You shoudl probably change these, too:

templates/hooks--pre-applypatch:. git-sh-setup
templates/hooks--applypatch-msg:. git-sh-setup

-- 
Eric Wong
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Install git-sh-setup.sh into $(prefix)/share/git..., Eric Wong, (Fri Dec 8, 3:37 pm)
Re: [PATCH] Install git-sh-setup.sh into $(prefix)/share/git..., Nguyen Thai Ngoc Duy, (Fri Dec 8, 3:11 pm)