Files
git/Documentation
Junio C Hamano 89dd32aedc check-ref-format doc: --branch validates and expands <branch>
"git check-ref-format --branch $name" feature was originally
introduced (and was advertised) as a way for scripts to take any
end-user supplied string (like "master", "@{-1}" etc.) and see if it
is usable when Git expects to see a branch name, and also obtain the
concrete branch name that the at-mark magic expands to.

Emphasize that "see if it is usable" role in the description and
clarify that the @{...} expansion only occurs when run from within a
repository.

[jn: split out from a larger patch]

Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-10-18 08:01:48 +09:00
..
2017-07-12 15:24:15 -07:00
2016-09-12 15:03:32 -07:00
2016-10-10 14:03:51 -07:00
2017-05-01 11:01:52 +09:00
2017-04-13 16:15:25 -07:00
2017-01-18 15:12:12 -08:00
2017-06-02 14:10:57 +09:00
2016-08-11 14:35:42 -07:00
2017-06-05 09:05:38 +09:00
2017-05-04 16:26:46 +09:00
2017-01-18 15:12:18 -08:00
2017-05-01 11:01:52 +09:00
2017-02-02 13:36:57 -08:00