Phillip Wood
1dbe401563
show-ref --verify: accept pseudorefs
...
"git show-ref --verify" is useful for scripts that want to look up a
fully qualified refname without falling back to the DWIM rules used by
"git rev-parse" rules when the ref does not exist. Currently it will
only accept "HEAD" or a refname beginning with "refs/". Running
git show-ref --verify CHERRY_PICK_HEAD
will always result in
fatal: 'CHERRY_PICK_HEAD' - not a valid ref
even when CHERRY_PICK_HEAD exists. By calling refname_is_safe() instead
of comparing the refname to "HEAD" we can accept all one-level refs that
contain only uppercase ascii letters and underscores.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2024-02-07 09:12:47 -08:00
..
2024-01-08 14:05:15 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:33 -08:00
2024-01-08 14:05:15 -08:00
2024-01-08 14:05:15 -08:00
2024-01-11 17:15:54 -08:00
2023-10-29 08:56:17 +09:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2024-01-08 14:05:15 -08:00
2023-12-09 07:41:03 +09:00
2024-01-16 10:11:57 -08:00
2023-12-18 14:10:13 -08:00
2023-12-26 12:04:33 -08:00
2023-12-26 12:04:31 -08:00
2024-01-19 11:10:41 -08:00
2024-01-29 10:27:53 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 11:06:23 -08:00
2024-01-19 15:04:45 -08:00
2024-01-08 14:05:15 -08:00
2023-12-26 12:04:33 -08:00
2023-12-26 12:04:33 -08:00
2024-01-18 12:17:42 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:33 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2024-01-16 10:11:58 -08:00
2024-01-16 10:11:57 -08:00
2023-10-13 14:18:27 -07:00
2024-01-08 14:05:15 -08:00
2023-12-26 12:04:31 -08:00
2024-01-08 14:05:15 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-11-22 14:23:06 +09:00
2023-12-26 12:04:31 -08:00
2024-01-08 14:05:15 -08:00
2024-01-19 11:10:41 -08:00
2023-12-26 12:04:33 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2024-01-12 16:09:56 -08:00
2023-12-26 12:04:31 -08:00
2024-01-08 14:05:15 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2024-01-19 11:10:41 -08:00
2024-01-08 14:05:15 -08:00
2023-12-18 14:10:12 -08:00
2024-01-08 14:05:15 -08:00
2023-11-26 10:10:50 +09:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:33 -08:00
2024-01-02 09:24:48 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2024-01-26 08:54:45 -08:00
2024-02-07 09:12:47 -08:00
2024-01-08 14:05:16 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2024-01-08 14:05:15 -08:00
2023-12-26 12:04:31 -08:00
2023-10-02 11:20:00 -07:00
2023-12-26 12:04:31 -08:00
2024-01-18 12:17:41 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2024-02-06 14:31:21 -08:00