]> git.scripts.mit.edu Git - git.git/blobdiff - refs.c
git-config: always treat --int as 64-bit internally
[git.git] / refs.c
diff --git a/refs.c b/refs.c
index 7b08a37153457d335ecf676a73252aa5bdbee4fb..7922261580515859bc89005c4c69e8623c50c728 100644 (file)
--- a/refs.c
+++ b/refs.c
@@ -72,10 +72,6 @@ int check_refname_format(const char *refname, int flags)
 {
        int component_len, component_count = 0;
 
-       if (!strcmp(refname, "@"))
-               /* Refname is a single character '@'. */
-               return -1;
-
        while (1) {
                /* We are at the start of a path component. */
                component_len = check_refname_component(refname, flags);