On 5 July 2014 03:58, David Turner <[email protected]> wrote:
> On Sat, 2014-07-05 at 02:09 +0200, Øyvind A. Holm wrote:
> <snip>
> > The test works. Seems as there's something fishy about the use of
> > --prefix in this specific commit (v2.0.1-472-g6f92e5f).
>
> Ok, now I can reproduce on my linode box (haven't tried it locally
> yet). I'll try to get a fix up once I figure out what's up.
Awesome. I've done some more "./configure --prefix" testing, and this is
the result:
# --prefix is set to non-existing directory
./configure --prefix=/usr/local/varprg/git.master.v2.0.1-472-g6f92e5f
# ./t5150-request-pull.sh fails.
# --prefix is set to non-existing directory, use trailing slash
./configure --prefix=/usr/local/varprg/git.master.v2.0.1-472-g6f92e5f/
# ./t5150-request-pull.sh fails.
# --prefix is set to existing directory
./configure --prefix=/usr/local/varprg/git.master.v2.0.1-442-g7fe6834
# ./t5150-request-pull.sh fails.
# --prefix is set to existing directory
./configure --prefix=/usr/local
# ./t5150-request-pull.sh succeeds.
# --prefix is set to existing directory
./configure --prefix=/usr/local/varprg
# ./t5150-request-pull.sh succeeds.
# --prefix is set to non-existing directory
./configure
--prefix=/usr/local/varprg/a-long-directory-name-which-does-not-exist
# ./t5150-request-pull.sh succeeds.
./configure
--prefix=/usr/local/varprg/git.master.a-long-directory-name-which-does-not-exist
# ./t5150-request-pull.sh succeeds.
So it's something with names like "git.master.v2.0.1-472-g6f92e5f" that
"./configure --prefix" is picky about.
When testing this last night, I pushed the following branches to
<https://github.com/sunny256/git> where I added all compiled files in
various stages with "git add -f .":
t5150-fail.configure-without-prefix
Succeeds.
"./configure"
t5150-fail.configure-with-prefix
Fails.
"./configure --prefix=/usr/local/varprg/git.master.v2.0.1-472-g6f92e5f"
t5150-fail.configure-prefix-usr-local
Succeeds.
"./configure --prefix=/usr/local"
Maybe something will turn up by diffing those branches. I've got to
leave for now, but will have a look at this later tonight.
Cheers,
Øyvind
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html