summaryrefslogtreecommitdiff
path: root/contrib/hooks
diff options
context:
space:
mode:
authorLibravatar Thomas Gummerer <t.gummerer@gmail.com>2017-02-28 20:33:38 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-28 14:21:05 -0800
commitdf6bba0937209d679a06addd26975593fef744f2 (patch)
treea4f22b7e2d13ff8fadc931d4002136259b9a0f38 /contrib/hooks
parentstash: refactor stash_create (diff)
downloadtgif-df6bba0937209d679a06addd26975593fef744f2.tar.xz
stash: teach 'push' (and 'create_stash') to honor pathspec
While working on a repository, it's often helpful to stash the changes of a single or multiple files, and leave others alone. Unfortunately git currently offers no such option. git stash -p can be used to work around this, but it's often impractical when there are a lot of changes over multiple files. Allow 'git stash push' to take pathspec to specify which paths to stash. Helped-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hooks')
0 files changed, 0 insertions, 0 deletions