summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-10-31 19:59:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-11-10 16:49:26 (GMT)
commitf6ce1f25885f3db71935b201c5e3c858eb993f5c (patch)
tree142b6e4f329efcbc57c204779f0d77b52ffd9419 /Documentation
parentaf77aee9cac51c2036e6019b4aebec2049f03e6b (diff)
downloadgit-f6ce1f25885f3db71935b201c5e3c858eb993f5c.zip
git-f6ce1f25885f3db71935b201c5e3c858eb993f5c.tar.gz
git-f6ce1f25885f3db71935b201c5e3c858eb993f5c.tar.bz2
cherry-pick/revert: transparently refresh index
A stat-dirty index is not a detail that ought to concern the operator of porcelain such as "git cherry-pick". Without this change, a cherry-pick after copying a worktree with rsync errors out with a misleading message. $ git cherry-pick build/top error: Your local changes to 'file.h' would be overwritten by merge. Aborting. Please, commit your changes or stash them before you can merge. Noticed-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions