summaryrefslogtreecommitdiff
path: root/Documentation/revisions.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-08-14 10:57:24 -0700
committerJunio C Hamano <gitster@pobox.com>2013-08-14 15:04:24 -0700
commit2c2b6646c2723459dbd334c7ced6f77ffb0d596e (patch)
tree2db617e34a62cc84d1c744e14913b916202eb820 /Documentation/revisions.txt
parentc1ebd90c832e28ff27654c21f9985aebe986352d (diff)
downloadgit-2c2b6646c2723459dbd334c7ced6f77ffb0d596e.tar.gz
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.
Diffstat (limited to 'Documentation/revisions.txt')
-rw-r--r--Documentation/revisions.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/Documentation/revisions.txt b/Documentation/revisions.txt
index 09896a37b1..d477b3f6bc 100644
--- a/Documentation/revisions.txt
+++ b/Documentation/revisions.txt
@@ -58,9 +58,6 @@ the '$GIT_DIR/refs' directory or from the '$GIT_DIR/packed-refs' file.
While the ref name encoding is unspecified, UTF-8 is preferred as
some output processing may assume ref names in UTF-8.
-'@'::
- '@' alone is a shortcut for 'HEAD'.
-
'<refname>@\{<date>\}', e.g. 'master@\{yesterday\}', 'HEAD@\{5 minutes ago\}'::
A ref followed by the suffix '@' with a date specification
enclosed in a brace