git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-filter-repo For Windows (possibly a request for a bash for Windows primer)
@ 2020-04-20 14:03 Kerry, Richard
  2020-04-20 16:53 ` Elijah Newren
  0 siblings, 1 reply; 6+ messages in thread
From: Kerry, Richard @ 2020-04-20 14:03 UTC (permalink / raw)
  To: git@vger.kernel.org


This follows my earlier query for which the answer was "use git-filter-repo".
I've cloned git-filter-repo from GitHub, and I've installed the latest Python (version 3.8).  I'm working on Windows.  Windows 10 if it makes any difference, so git is Git For Windows.
The first instruction for git-filter-repo is to copy it into the "--exec-path" of git.  That fails, saying Access is Denied.  So leaving aside the option to change the permissions I've followed the second half of the sentence and added my git-filter-repo location to my Path (or PATH if it's in bash).  Now running "get filter-repo" gives:
/usr/bin/env: 'python3.exe': No such file or directory

My python executable is called python3.exe.  There is a note in the git-filter-repo project about certain Windows installations where it isn't called python3, but that now raises in my mind the question of whether I need to tweak git-filter-repo to look for "python3.exe" rather than just "python3".  Or can I take it that the Windows version of bash understands that it needs to add ".exe" automatically?

Assuming that is handled automatically, what do I now need to do to satisfy the error message?  Do I need to put something in bash-for-Windows' /usr/bin/env directory?  Or is there something else entirely that I should be doing?

And is it OK to ask about this on this list, or should I be going to a git-filter-branch resource?  Or for Git For Windows?

Regards,
Richard.




Richard Kerry
BNCS Engineer, SI SOL Telco & Media Vertical Practice
M: +44 (0)7812 325518
2nd Floor, MidCity Place, 71 High Holborn, London, WC1V 6EA
https://webmail.siemens-it-solutions.com/owa/redir.aspx?C=9fb20d019e3e4cb99344d708709a3177&URL=mailto%3arichard.kerry%40atos.net


This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-04-25 14:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-20 14:03 git-filter-repo For Windows (possibly a request for a bash for Windows primer) Kerry, Richard
2020-04-20 16:53 ` Elijah Newren
2020-04-20 17:24   ` Elijah Newren
2020-04-20 18:46     ` Philip Oakley
2020-04-21 14:52       ` Kerry, Richard
2020-04-25 14:15         ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).