]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/git-am.txt
am doc: add a pointer to relevant hooks
authorJonathan Nieder <jrnieder@gmail.com>
Mon, 24 Feb 2014 20:38:29 +0000 (12:38 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2014 21:23:57 +0000 (13:23 -0800)
commit0e3d40c60d9ae14ddc9f525ce4db3cbc0bde5278
treefb6357f0542505db995335113f85043c56cf2eaf
parent5f95c9f850b19b368c43ae399cc831b17a26a5ac
am doc: add a pointer to relevant hooks

It is not obvious when looking at a new command what hooks will affect
it.  Add a HOOKS section to the git-am(1) page, imitating
git-commit(1), to make it easier for people to discover e.g. the
applypatch-msg hook that can implement a custom subject-mangling
strategy (e.g., removing a "bug #nnnn:" prefix introduced by a bug
tracker).

Reported-by: Phillip Susi <psusi@ubuntu.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-am.txt