summaryrefslogtreecommitdiff
path: root/git-web--browse.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-04-25 16:45:51 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-05-07 13:04:47 +0900
commite3ddd3b5e583e62d874f56f8c88603ad0ebafd5e (patch)
treebc9cfc25295e585703341f8237e3d48727e19862 /git-web--browse.sh
parentrestore: add --worktree and --staged (diff)
downloadtgif-e3ddd3b5e583e62d874f56f8c88603ad0ebafd5e.tar.xz
restore: reject invalid combinations with --staged
git-checkout rejects plenty of invalid option combinations. Since git-checkout is equivalent of either git restore --source --staged --worktree or git restore --worktree that still leaves the new mode 'git restore --index' unprotected. Reject some more invalid option combinations. The other new mode 'restore --source --worktree' does not need anything else. 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 'git-web--browse.sh')
0 files changed, 0 insertions, 0 deletions