summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-receive.sample
diff options
context:
space:
mode:
authorLibravatar Duy Nguyen <pclouds@gmail.com>2016-10-05 17:26:33 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-10-05 10:17:40 -0700
commit7431596ab1f05a13adb93b44108f27cfd6578a31 (patch)
tree2a4212f4e5179de5ae4ef4f453ef789cba3038a8 /templates/hooks--pre-receive.sample
parentGit 2.8.4 (diff)
downloadtgif-7431596ab1f05a13adb93b44108f27cfd6578a31.tar.xz
git-commit.txt: clarify --patch mode with pathspec
How pathspec is used, with and without --interactive/--patch, is different. But this is not clear from the document. These changes hint the user to keep reading (to option #5) instead of stopping at #2 and assuming --patch/--interactive behaves the same way. And since all the options listed here always mention how the index is involved (or not) in the final commit, add that bit for #5 as well. This "on top of the index" is implied when you head over git-add(1), but if you just go straight to the "Interactive mode" and not read what git-add is for, you may miss it. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--pre-receive.sample')
0 files changed, 0 insertions, 0 deletions