agit.vim
agit.vim copied to clipboard
Add ability to use arbitrary log formats
Add a new version of the :Agit command called :Agit! that takes arbitrary git-log arguments. This lets people use various options in git-log like -L, --authot, pathspecs, etc.
The implementation is a bit hacky but works for me.
Agit!
is not suitable name for this feature. I think !
means overwrite (:w!
, :func!
), force (:q!
, :e!
), invert (:global!
, :sort!
) or make some small changes (:join!
, :silent!
).
Agit!
is not suitable name for this feature. I think!
means overwrite (:w!
,:func!
), force (:q!
,:e!
), invert (:global!
,:sort!
) or make some small changes (:join!
,:silent!
).
Ok. What name would you suggest? I'm not great at naming things, and I can't think of anything sensible.
How aboud :AgitWithFormat
?
Hmm, it is a mouthful. I don't think it will be all that easy to type or remember. And I also don't think it represents what the command does very well. We can pass much more than just formatting options to git-log. Thinking about it a bit more, I am inclined towards :AgitLog
. It might cause confusion with :Agit
, and it doesn't represent the difference between the two clearly either, but it looks like the lesser of the two evils. sigh naming things is hard. Thoughts?