All of lore.kernel.org
 help / color / mirror / Atom feed
* Bug report : git-status manual fibs about semantics of --porcelain
@ 2011-05-19 18:01 Mark Jason Dominus
  2011-05-27  2:31 ` [PATCH 1/4] docs: minor grammar fixes to git-status Jeff King
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Mark Jason Dominus @ 2011-05-19 18:01 UTC (permalink / raw)
  To: git


The 1.7.5.1 manual says:

     --porcelain::
    	Give the output in a stable, easy-to-parse format for scripts.
    	Currently this is identical to --short output, but is guaranteed
    	not to change in the future, making it safe for scripts.

However, this is not actually true.  --porcelain differs from --short
in at least two ways, one of them significant.  

--short is colorized when color.status = auto, while --porcelain is
not.

More importantly, --short reports file paths relative to the
current directory, while --porcelain reports file paths relative to
the root of the repository.

All of this was the case in 1.7.0.4 also, and presumably the versions
in between.

Mark Jason Dominus 	  			                 mjd@plover.com

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

end of thread, other threads:[~2011-05-27  5:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-19 18:01 Bug report : git-status manual fibs about semantics of --porcelain Mark Jason Dominus
2011-05-27  2:31 ` [PATCH 1/4] docs: minor grammar fixes to git-status Jeff King
2011-05-27  2:31 ` [PATCH 2/4] docs: update status --porcelain format Jeff King
2011-05-27  2:32 ` [PATCH 3/4] docs: make sure literal "->" isn't converted to arrow Jeff King
2011-05-27  2:33 ` [PATCH 4/4] docs: fix some antique example output Jeff King
2011-05-27  5:16   ` Junio C Hamano

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.