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@xxxxxxx> A: "Farina Nicola" <nicola.farina@xxxxxx>, "git" <git@xxxxxxxxxxxxxxx> 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: > 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