Re: [PATCH 6/7] stage: add 'diff' subcommand
- From
Michael J Gruber <git@grubix.eu>
- Date
- Aug 11, 2021, 20:51 UTC
- Message-ID
- <162871511371.7067.11584829113417456747.git@grubix.eu>
- In-Reply-To
- <YRQ11bYH5lV9D24D@coredump.intra.peff.net>
Jeff King venit, vidit, dixit 2021-08-11 22:40:53:
Show 6 quoted lines
> I don't really disagree with anything in your post, but I do think a > pure-verb world would be tricky in some ways. Or at least verbose. We > have "git branch --delete". But "git delete" seems a little too > open-ended. The concept of that verb is meaningful only in the context > or a particular noun. We could call it "git delete-branch", but that > doesn't really seem to make the world a better place. :)
In fact I think it does, because it keeps the verb-object order and avoids "verbs as options":
git rm-branch git rm-tag git rm-remote git ls-branch git ls-tag git ls-remote (yeah, I know... maybe use ls-pluralform instead for all) ...
Maybe: git branches aliased to "git ls-branch" etc. as convenience.
For sake of convenience, if we have "ls-pluralform" (aliased to "pluralform") we could even alias "create-singularform" to "singularform". I mean, I want use this git thing myself ;)
Michael