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
{{ message }}
Repository navigation
Document --stdin (and other options in setup_revisions) #243
Currently, Git accepts --stdin for the log family of commands. Well really, anything that calls setup_revisions from revisions.c and passes in its argv will implicitly have the --stdin option.
We should explicitly document this (and other) options.
I found that the file rev-list-options.txt contains the options that are parsed in revision.c, including --stdin. Currently it only appears in git-log.txt and git-rev-list.txt.
Is it a good idea to also put it into the git commands that support those options? Like git-revert.txt, git-show.txt, etc?
I don't know the other builtin commands well enough to be able to tell if there would be any negative implications resulting in this change but if you're interested, I think it would be good to submit the patch and see what the mailing list thinks.
Activity
johnlinp commentedon Jun 24, 2019
What are the "other options"? Can you please elaborate?
dscho commentedon Jun 24, 2019
I think those are all of the options that are parsed in
revision.c, in particular inhandle_revision_opt().The idea being that an interested contributor who wants to pick this up would analyze carefully which options are still undocumented (and where).
johnlinp commentedon Aug 2, 2019
I found that the file
rev-list-options.txtcontains the options that are parsed in revision.c, including--stdin. Currently it only appears ingit-log.txtandgit-rev-list.txt.Is it a good idea to also put it into the git commands that support those options? Like
git-revert.txt,git-show.txt, etc?Denton-L commentedon Aug 23, 2019
I don't know the other builtin commands well enough to be able to tell if there would be any negative implications resulting in this change but if you're interested, I think it would be good to submit the patch and see what the mailing list thinks.
Merge advanced VFS-specific features