Recent

Author Topic: Git for Windows XP  (Read 2068 times)

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4452
  • I like bugs.
Git for Windows XP
« on: July 25, 2023, 06:01:04 pm »
I installed Windows XP to VirtualBox. My idea is to test Lazarus compilation sometimes there. WinXP support would be nice have some more time.

So I installed FPC.
Then I tried to install Git. The last version of GitForWindows that supports WinXP is 2.10 but there is no download for it.
 https://gitforwindows.org/requirements.html
The last TortoiseGit version to support WinXP is 1.8.16. I downloaded and installed it.
File manager integration was done and new popup TortoiseGit items appear but they refuse to run. The complaint is a missing Git executable and a link to GitForWindows page is given.

Does anybody run Git on WinXP? How to do it?
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

TRon

  • Hero Member
  • *****
  • Posts: 2278
Re: Git for Windows XP
« Reply #1 on: July 25, 2023, 06:09:18 pm »
Then I tried to install Git. The last version of GitForWindows that supports WinXP is 2.10 but there is no download for it.
? https://github.com/git-for-windows/git/releases?page=24

Does anybody run Git on WinXP? How to do it?
I did back in the day using msys(2). that had everything required for development integrated but have no idea if it still exist.
« Last Edit: July 25, 2023, 06:15:06 pm by TRon »

white_zombie

  • New Member
  • *
  • Posts: 18
Re: Git for Windows XP
« Reply #2 on: July 25, 2023, 06:16:28 pm »
Hello Juha,

I run Git on several WinXP installed on Virtualbox.

I set up these virtual machines several years ago, and I copy them every time I change my development laptop, so I don't remember the installation process.

But I checked what I have installed and this is it.

GIT: 1.9.5.msysgit.0
Tortoisegit: 1.8.13.0


JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4452
  • I like bugs.
Re: Git for Windows XP
« Reply #3 on: July 25, 2023, 07:07:37 pm »
? https://github.com/git-for-windows/git/releases?page=24
OK, now I understand what happened.
When I open this page :
 https://github.com/git-for-windows/git/releases/tag/v2.10.0.windows.1
with a modern browser version, I see download links under the "Assets" section.
When I open the same page with Firefox ESR 52.9 under WinXP, the "Assets" does not open. It shows a circle animation like it waits for something.
MS IE refuses to even open the page.
New Firefox versions do not support WinXP, thus I had to install an oldish one.
Yes, using WinXP becomes more and more difficult. Many internet pages require a modern browser but WinXP does not support them.
I must copy the file through some server or e-mail. I guess "Git-2.10.0-32-bit.exe" is enough.

Quote
I did back in the day using msys(2). that had everything required for development integrated but have no idea if it still exist.
Thanks white zombie also for your comments.
I also remember installing msysgit many years ago. It has a unix emulator. I understood the Git for Windows is Git compiled for Windows native.
It is very confusing though. This page :
 https://msysgit.github.io/index.old.html
writes "Git for Windows" all over. So which one is it?
« Last Edit: July 25, 2023, 07:58:31 pm by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4452
  • I like bugs.
Re: Git for Windows XP
« Reply #4 on: July 25, 2023, 07:31:33 pm »
Quote
I must copy the file through some server or e-mail.

Google drive server or gmail at least don't work for that. A mail does not accept so big attachments and Google drive requires a recent browser once again.
No worries, Drag'n'drop from my host Linux OS to VirtualBox / WinXP works perfectly. It does not work with some OS but with WinXP it does. Super handy!

I ran the Git 2.10 installer. Everything went smoothly and then works.
It all resembles the msysgit version. There is MINGW32 console where Unix commands work.
Is Git compiled for Windows but a Unix emulator is included anyways? I don't know.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9696
  • Debugger - SynEdit - and more
    • wiki

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9696
  • Debugger - SynEdit - and more
    • wiki
Re: Git for Windows XP
« Reply #6 on: July 25, 2023, 07:37:22 pm »
https://github.com/git-for-windows/git/releases/download/v2.10.0.windows.1/Git-2.10.0-32-bit.exe

should directly download

If you set your host machine via tcp/ip as git server (running git daemon) you may get errors....

But it works fine under Virtualbox, if you mount the folder containing git as shared folder (fixed mountpoint / read only), and then

     git remote add pc z:\lazarus_git


TRon

  • Hero Member
  • *****
  • Posts: 2278
Re: Git for Windows XP
« Reply #7 on: February 10, 2024, 06:02:25 am »
Sorry for the very delayed response to your question(s) JuhaManninen,

Is Git compiled for Windows but a Unix emulator is included anyways? I don't know.
msys(git) is a set of gnu utilities compiled for Windows (mingw = minimalistic gnu toolset for windows), combined with a bash emulator with some windows shell integrations and msysgit in particular adds some other git related enhancements for Windows.

msys itself is the *nix parts added to Windows and msysgit adds all the git functionality.  Once they were separated projects but it ended up together along the way. msys(git) itself now seems to belong to history as well in favour of git for Windows.


 

TinyPortal © 2005-2018