Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] builtin clone: support bundles

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:19

Johannes Schindelin [off-list ref] writes:
Hi,

On Sun, 2 Mar 2008, Daniel Barkalow wrote:
quoted
On Sun, 2 Mar 2008, Johannes Schindelin wrote:
quoted
+	for (i = 0; i < ARRAY_SIZE(bundle_suffix); i++) {
+		const char *path;
+		path = mkpath("%s%s", repo, bundle_suffix[i]);
+		if (!stat(path, &st) && S_ISREG(st.st_mode)) {
+			*is_bundle = 1;
+			return xstrdup(make_absolute_path(path));
The problem I'm seeing in general is that origin/next's make_absolute_path 
doesn't work on a regular file in the current directory. How are you 
getting those tests to pass?
http://repo.or.cz/w/git/dscho.git?a=commitdiff;h=d066bd60e5a93d69c47318cf6e71f77c84b737e6
FYI, I already queued this for 'master'.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help