summaryrefslogtreecommitdiff
path: root/templates/.gitignore
diff options
context:
space:
mode:
authorLibravatar Martin von Zweigbergk <martinvonz@gmail.com>2013-01-14 21:47:47 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-01-15 09:38:08 -0800
commit3bbf2f20f62ec6aa7998d9f7acc942ded6639870 (patch)
tree72c61979dcd473c8946403ad182d3a240f7bc976 /templates/.gitignore
parentreset [--mixed]: only write index file once (diff)
downloadtgif-3bbf2f20f62ec6aa7998d9f7acc942ded6639870.tar.xz
reset.c: finish entire cmd_reset() whether or not pathspec is given
By not returning from inside the "if (pathspec)" block, we can let the pathspec-aware and pathspec-less code share a bit more, making it easier to make future changes that should affect both cases. This also highlights the similarity between read_from_tree() and reset_index(). Signed-off-by: Martin von Zweigbergk <martinvonz@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/.gitignore')
0 files changed, 0 insertions, 0 deletions