From 2c2b6646c2723459dbd334c7ced6f77ffb0d596e Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 14 Aug 2013 10:57:24 -0700 Subject: Revert "Add new @ shortcut for HEAD" This reverts commit cdfd94837b27c220f70f032b596ea993d195488f, as it does not just apply to "@" (and forms with modifiers like @{u} applied to it), but also affects e.g. "refs/heads/@/foo", which it shouldn't. The basic idea of giving a short-hand might be good, and the topic can be retried later, but let's revert to avoid affecting existing use cases for now for the upcoming release. --- Documentation/git-check-ref-format.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'Documentation/git-check-ref-format.txt') diff --git a/Documentation/git-check-ref-format.txt b/Documentation/git-check-ref-format.txt index fc02959ba4..a49be1bab4 100644 --- a/Documentation/git-check-ref-format.txt +++ b/Documentation/git-check-ref-format.txt @@ -54,8 +54,6 @@ Git imposes the following rules on how references are named: . They cannot contain a sequence `@{`. -. They cannot be the single character `@`. - . They cannot contain a `\`. These rules make it easy for shell script based tools to parse -- cgit v1.2.1