summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-07-19 06:37:39 -0700
committerJunio C Hamano <gitster@pobox.com>2023-07-19 22:02:53 -0700
commit3821eb6c3dedba1c57522a1254a916f5ad0d15dc (patch)
tree8b7e512474231c28e77df75fca02b246a44a115a /commit.c
parentfb7d80edcae482f4fa5d4be0227dc3054734e5f3 (diff)
reset: reject --no-(mixed|soft|hard|merge|keep) option
"git reset --no-mixed" behaved exactly like "git reset --mixed", which was nonsense. If there were only two kinds, e.g. "mixed" vs "separate", it might have made sense to make "git reset --no-mixed" behave identically to "git reset --separate" and vice-versa, but because we have many types of reset, let's just forbid "--no-mixed" and negated form of other types. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions