You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would want to use -- for arguments (which is more a conventional and standard way), for example:
:Flog --all
instead of
:Flog -all
The reason I want this is it is more compatible with raw git log command so I can have the same code for generating raw git command lines and :Flog commands.
So it'd be nice to have all arguments coming with double dashes. For backward compatibility we could keep the single-dash arguments. Any thoughts?
The text was updated successfully, but these errors were encountered:
wookayin
changed the title
Use -- instead of -?
Use -- instead of - for arguments?
Oct 18, 2021
Flog uses a more similar argument format to builtin vim commands. Flog arguments are not shell arguments, they are arguments for a vim command. It translates any arguments that go to git log. Flog also doesn't aim for feature parity with git log arguments, some of the things a shell command does are difficult to do in vim.
That said if this issue gets support I would be willing to switch. This is just the ideas that went into how it works now.
Backwards compatibility may not be something I want to do, I don't want to maintain both forever. If it ends up being easy, though, I would support both until it becomes unfavorable.
I would want to use
--
for arguments (which is more a conventional and standard way), for example:instead of
The reason I want this is it is more compatible with raw
git log
command so I can have the same code for generating rawgit
command lines and:Flog
commands.So it'd be nice to have all arguments coming with double dashes. For backward compatibility we could keep the single-dash arguments. Any thoughts?
The text was updated successfully, but these errors were encountered: