All of lore.kernel.org
 help / color / mirror / Atom feed
* couple questions about git "logical variables" and "git var"
@ 2017-10-05  9:11 rpjday
  2017-10-05  9:56 ` Jeff King
  0 siblings, 1 reply; 4+ messages in thread
From: rpjday @ 2017-10-05  9:11 UTC (permalink / raw)
  To: git

   i just ran across "git var" for the first time, and it seems a bit weird.
it refers to the (apparently) four git "logical variables":

  - GIT_AUTHOR_IDENT
  - GIT_COMMITTER_IDENT
  - GIT_EDITOR
  - GIT_PAGER

first question -- what is it about precisely those four variables that makes
them "logical" variables in git parlance? just those four? no others?

   also, the man page "man git-var" seems wrong:

"OPTIONS
   -l
     Cause the logical variables to be listed. In addition, all the variables
     of the Git configuration file .git/config are listed as well."

no, if i run "git var -l", i see not only the logical variables, but i
see *all* of the available config settings (system and global), not just
those in .git/config (unless i'm misreading what that is supposed to mean).

   thoughts?

rday

p.s. yes, i realize this command is deprecated in favour of "git config -l",
but as long as it's available, it should work as described in the man page.






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-06  4:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-05  9:11 couple questions about git "logical variables" and "git var" rpjday
2017-10-05  9:56 ` Jeff King
2017-10-06  2:35   ` Jonathan Nieder
2017-10-06  4:33     ` Jeff King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.