git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* check-ref-format question
@ 2009-05-13  0:09 Geoff Russell
  2009-05-13 14:13 ` Michael J Gruber
  0 siblings, 1 reply; 8+ messages in thread
From: Geoff Russell @ 2009-05-13  0:09 UTC (permalink / raw)
  To: git

1 $ git --version
git version 1.6.2.3
2 $ git check-ref-format xxxx && echo OK
3 $ git-check-ref-format --branch xxxx && echo OK
xxxx
OK
4 $ git check-ref-format --branch xxxx && echo OK
usage: git check-ref-format refname


2 seems wrong,
I tried 3 after looking at  builtin-check-ref-format.c
I couldn't find any test cases in the git/t directory

>From the documenation, I expect "git check-ref-format xxx" to return 0 if xxx is
a valid branch or ref name.  git version 1.6.3 gives the same results.

Cheers,
Geoff.

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

end of thread, other threads:[~2009-05-18  2:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-13  0:09 check-ref-format question Geoff Russell
2009-05-13 14:13 ` Michael J Gruber
2009-05-13 14:40   ` Sverre Rabbelier
2009-05-13 15:03   ` Daniel Barkalow
2009-05-13 15:43     ` [PATCH] Documentation: clarify / requirement in 'git check-ref-format' Michael J Gruber
2009-05-18  2:36       ` Geoff Russell
2009-05-14  0:26   ` check-ref-format question Geoff Russell
2009-05-14  7:24     ` Michael J Gruber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).