summaryrefslogtreecommitdiff
path: root/Documentation/git-get-tar-commit-id.txt
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-03-29 17:39:10 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-02 13:57:00 +0900
commite342c63a4e070bd1398b9aa86ac4ce917edbadc7 (patch)
tree851c933ff4b53f79f4ff9f56e9f07536f9f23ee2 /Documentation/git-get-tar-commit-id.txt
parentswitch: stop accepting pathspec (diff)
downloadtgif-e342c63a4e070bd1398b9aa86ac4ce917edbadc7.tar.xz
switch: reject "do nothing" case
"git checkout" can be executed without any arguments. What it does is not exactly great: it switches from HEAD to HEAD and shows worktree modification as a side effect. Make switch reject this case. Just use "git status" if you want that side effect. For switch, you have to either - really switch a branch - (explicitly) detach from the current branch - create a new branch 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 'Documentation/git-get-tar-commit-id.txt')
0 files changed, 0 insertions, 0 deletions