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

Re: Git subtree error on windows 10 with 2.21 version

From
NFNicola Farina <nicola.farina@gpi.it>
Date
Apr 23, 2019, 15:21 UTC
Message-ID
<679633591.38274316.1556032888730.JavaMail.zimbra@gpi.it>
In-Reply-To
<bba4ef95-7ec4-e755-23da-28c34abda8dc@iee.org>
Hi Philip

Thanks for answering. I will try to post an issue. The 408 line is simply this:

			cat
(btw cat command alone seems to work in my pc)
the 636 is more complex:
		parents=$(git rev-parse "$rev^@")
it is inside the process_split_commit ()  function

Thanks again Bye Nicola

----- Messaggio originale -----
Da: "Philip Oakley" <philipoakley@iee.org>
A: "Farina Nicola" <nicola.farina@gpi.it>, "git" <git@vger.kernel.org>
Inviato: Sabato, 20 aprile 2019 15:21:48
Oggetto: Re: Git subtree error on windows 10 with 2.21 version
Hi Nicola, 
On 10/04/2019 11:45, Nicola Farina wrote: 
Show 34 quoted lines
> Hi 
> 
> After upgrading to 2.21 issuing this subtree command: 
> 
> git subtree push --prefix ouverture Shared-Ouverture master 
> 
> I get these errors: 
> 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 636: /mingw64/libexec/git-core/git: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 408: /usr/bin/cat: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 636: /mingw64/libexec/git-core/git: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 408: /usr/bin/cat: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 636: /mingw64/libexec/git-core/git: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 408: /usr/bin/cat: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 636: /mingw64/libexec/git-core/git: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 408: /usr/bin/cat: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 636: /mingw64/libexec/git-core/git: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 408: /usr/bin/cat: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 636: /mingw64/libexec/git-core/git: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 408: /usr/bin/cat: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 636: /mingw64/libexec/git-core/git: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 636: /mingw64/libexec/git-core/git: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 636: /mingw64/libexec/git-core/git: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 408: /usr/bin/cat: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 636: /mingw64/libexec/git-core/git: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 408: /usr/bin/cat: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 636: /mingw64/libexec/git-core/git: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 408: /usr/bin/cat: No such file or directory 
> C:/Program Files/Git/mingw64/libexec/git-core\git-subtree: line 636: /mingw64/libexec/git-core/git: No such file or directory 
> 
> I have installed git choosing the option "use git with bash only" 
> 
> thanks for any suggestions/help 
> Nicola 

I don't have any solution at the moment, but given it's Git-for-Windows it is worth also logging it as an issue at https://github.com/git-for-windows/git/issues and searching for additional clues on the GitHub site (including closed items)

Also what are the commands at those lines in the code? 
-- 
Philip 
Previous: Philip Oakley
Message 3 of 3 in “Git subtree error on windows 10 with 2.21 version”
  1. Nicola FarinaApr 10, 2019
  2. Philip OakleyApr 20, 2019
  3. Nicola FarinaApr 23, 2019

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.