On Tue, Aug 04, 2015 at 06:42:46PM -0400, Jeff King wrote:
On Tue, Aug 04, 2015 at 09:31:18AM +0200, Sebastian Schuberth wrote:
[snip]
Sadly we cannot just `strip_suffix_mem(repo, len, /.git))` in the
earlier code, as we have to account for multiple directory separators. I
believe the above
On Wed, Aug 05, 2015 at 08:08:52AM +0200, Patrick Steinhardt wrote:
Sadly we cannot just `strip_suffix_mem(repo, len, /.git))` in the
earlier code, as we have to account for multiple directory separators. I
believe the above code does the right thing, though. I haven't looked at
how badly
On Wed, Aug 05, 2015 at 04:41:48AM -0400, Jeff King wrote:
On Wed, Aug 05, 2015 at 08:08:52AM +0200, Patrick Steinhardt wrote:
Sadly we cannot just `strip_suffix_mem(repo, len, /.git))` in the
earlier code, as we have to account for multiple directory separators. I
believe the above
On Wed, Aug 05, 2015 at 11:06:03AM +0200, Patrick Steinhardt wrote:
You're welcome. And yes, your tests help me quite a lot here. Got
tedious to always set up the chroot. Guess I'll still send my
fixes for the chroot-tests as a separate patch series, even
though I don't require them anymore.
On Tue, Aug 4, 2015 at 6:34 AM, Lukas Fleischer lfleisc...@lfos.de wrote:
I am currently on vacation and cannot bisect or debug this but I am
pretty confident that this patch changes the behaviour of directory name
guessing. With Git 2.4.6, cloning http://foo.bar/foo.git/ results in a
On Tue, Aug 04, 2015 at 09:31:18AM +0200, Sebastian Schuberth wrote:
On Tue, Aug 4, 2015 at 6:34 AM, Lukas Fleischer lfleisc...@lfos.de wrote:
I am currently on vacation and cannot bisect or debug this but I am
pretty confident that this patch changes the behaviour of directory name
On Thu, 09 Jul 2015 at 20:24:08, Sebastian Schuberth wrote:
Signed-off-by: Sebastian Schuberth sschube...@gmail.com
---
builtin/clone.c | 17 +
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/builtin/clone.c b/builtin/clone.c
index 00535d0..ebcb849 100644
Signed-off-by: Sebastian Schuberth sschube...@gmail.com
---
builtin/clone.c | 17 +
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/builtin/clone.c b/builtin/clone.c
index 00535d0..ebcb849 100644
--- a/builtin/clone.c
+++ b/builtin/clone.c
@@ -147,6 +147,7 @@ static
Sebastian Schuberth sschube...@gmail.com writes:
- if (is_bare) {
- struct strbuf result = STRBUF_INIT;
- strbuf_addf(result, %.*s.git, (int)(end - start), start);
- dir = strbuf_detach(result, NULL);
- } else
+ if (is_bare)
+ dir
On Thu, Jul 9, 2015 at 11:21 PM, Junio C Hamano gits...@pobox.com wrote:
- if (is_bare) {
- struct strbuf result = STRBUF_INIT;
- strbuf_addf(result, %.*s.git, (int)(end - start), start);
- dir = strbuf_detach(result, NULL);
- } else
+ if
10 matches
Mail list logo