All of lore.kernel.org
 help / color / mirror / Atom feed
* Output from "rev-parse --resolve-git-dir" changed: two lines (prints original argument)
@ 2014-02-17  8:13 Daniel Hahler
  2014-02-17  8:46 ` [PATCH] rev-parse: fix --resolve-git-dir argument handling John Keeping
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Hahler @ 2014-02-17  8:13 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 674 bytes --]

I have noticed that the output from "git rev-parse --resolve-git-dir" changed.

While it used to only print the resolved git dir, it now prints the argument passed to it itself:

    % git rev-parse --resolve-git-dir .git
    /path/to/root/.git/modules/vim/bundle/reporoot
    .git

This is with Git version 1.8.5.3, but also happens with master.

You can use "--flags" to avoid this ("git rev-parse --flags --resolve-git-dir .git"), but it is unclear from the documentation if that's the intended beahviour.

It seems like the "--resolve-git-dir" subcommand needs to consume the argument passed to it.


Regards,
Daniel.

-- 
http://daniel.hahler.de/


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

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

end of thread, other threads:[~2014-02-19  9:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-17  8:13 Output from "rev-parse --resolve-git-dir" changed: two lines (prints original argument) Daniel Hahler
2014-02-17  8:46 ` [PATCH] rev-parse: fix --resolve-git-dir argument handling John Keeping
2014-02-18 20:42   ` Junio C Hamano
2014-02-19  0:25     ` Junio C Hamano
2014-02-19  9:09       ` John Keeping

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.