git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-archive and core.eol

From
Erik Faye-Lund <kusmabite@gmail.com>
Date
Jan 10, 2011, 12:11 UTC
Message-ID
<AANLkTinxVCQuTMeKHQ9mLbs=94fck90rwJwa1DhzGPmX@mail.gmail.com>
In-Reply-To
<4D29AF80.5060008@lsrfire.ath.cx>

On Sun, Jan 9, 2011 at 1:52 PM, René Scharfe <rene.scharfe@lsrfire.ath.cx> wrote:

Show 17 quoted lines
> Am 08.01.2011 18:28, schrieb Erik Faye-Lund:
>> Really? I haven't looked through what the test actually does (I'm out
>> sick right now, and don't have many working brain-cells), but every
>> single test fails for me:
> [...]
>> $ git --version
>> git version 1.7.4.rc1.3196.gfd693
>>
>> (This is the current 'devel'-branch from
>> git://repo.or.cz/git/mingw/4msysgit.git)
>
> I cloned it, but even though it reports a different version string for
> me we probably use the same (fd6937e0e6ccb78eb4347c427248e25c2d6739c8):
>
>        $ ./git version
>        git version 1.7.3.4.3902.gfd693
>

This is probably just because you haven't pulled junio's repo recently, which contains the 1.7.4.rc1 tag. The tip is the same, indeed.

> And all the tests succeed for me (on Windows Vista Home Premium x64)
> with that one.
>
I'm on Vista 64 if that matters. And I'm using msysGit e59039e.
> I'm especially interested in how the setup step manages to fail for you.

It's the line "git add .gitattributes" is the first that fails in 'setup'. Actually, all git-commands seems to fail.

But now I also observe that just trying to run t0000-basic fails:

$ ./t0000-basic.sh ./t0000-basic.sh: line 24: ../git: is a directory You do not seem to have built git yet.

Now this is suspicious: $ ls ../git.exe ../git.exe*

$ ls ../git Debug/ git.vcproj git.vcproj.Hue-PC.kusma.user git.wwdb

Aha! The MSVC project generator creates a folder called 'git' at the root, so anything trying to execute '../git' fails!

$ ../git help sh.exe": ../git: is a directory

After deleting that folder, t0000-basic passes again. As does your test. So now I've got to figure out what is different between your test and mine. Perhaps I misdiagnosed to begin with?

Previous: René ScharfeNext: Erik Faye-Lund
Message 5 of 7 in “git-archive and core.eol”
  1. Erik Faye-LundDec 15, 2010
  2. René ScharfeJan 8, 2011
  3. Erik Faye-LundJan 8, 2011
  4. René ScharfeJan 9, 2011
  5. Erik Faye-LundJan 10, 2011
  6. Erik Faye-LundJan 10, 2011
  7. René ScharfeJan 11, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.