Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Is there a JGit equivalent to C git's check-ref-format?

Hi,

> The man page for the check-ref-format is pretty clear but I wondered if there was already code in JGit that performs this verification.

you could try Repository.isValidRefName(String refName)

Ciao
  Chris



Back to the top