Re: [PATCH 6/7] stage: add 'diff' subcommand
From: Junio C Hamano <hidden>
Date: 2021-08-11 20:57:32
Michael J Gruber [off-list ref] writes:
I still think it's very worthwhile to fantasize about a git which has only verb-like commands (such as diff, add, checkout, checkin) and a consistent way of specifying the objects to act upon (possibly amended by "git pluralnoun" being synonymous to "git ls noun" or similar convenience shortcuts).
It is nice to fantasize that the world were without confusing mixture of variety of things. I am not sure if a single "git create" command that can be used to create a new commit (aka "git commit"), a new tag (aka "git tag"), or a new worktree (aka "git worktree add"), or a single "git remove" command that can be used to remove a branch (aka "git branch -d"), a tracked file (aka "git rm"), would create a more easy to learn and explain UI. At some point, I suspect that we would run out verbs more quickily than we can organize commands and concepts in a way that is easy to understand and explain by using them.