Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-12-17 11:00:50 +0300
committerJunio C Hamano <junkio@cox.net>2005-12-18 10:10:56 +0300
commitc054d64e8783e5ac2fa68c382f00df9087bca0f9 (patch)
tree48a85ea31da99d23242eddff787db7658518661f /sha1_name.c
parentf7087e2e7c34421b4577876969da94d0f6195414 (diff)
Revert "get_sha1_basic(): corner case ambiguity fix"
This reverts 6677c4665af2d73f670bec382bc82d0f2e9513fb commit. The misguided disambiguation has been reverted, so there is no point testing that misfeature.
Diffstat (limited to 'sha1_name.c')
-rw-r--r--sha1_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1_name.c b/sha1_name.c
index 49e2cc394f..67b69a54fb 100644
--- a/sha1_name.c
+++ b/sha1_name.c
@@ -223,7 +223,7 @@ static int ambiguous_path(const char *path, int len)
slash = 0;
continue;
}
- return slash;
+ break;
}
return slash;
}