News for hackers. Stuff that matters.
Re:Learn just enough Linux to get things done by recursive on Thursday November 16, 2017 @12:11PM (#15714396)
And git does work on Windows. There's even a windows logo on the official download page. https://www.git-scm.com/downloads
Re:Learn just enough Linux to get things done by lucideer on Thursday November 16, 2017 @12:36PM (#15714638)
The originally released Git did not run on Windows.

The first Windows-compatible release was msysgit, which was effectively a mingw/msys Linux emulation layer for Windows. Not quite native, but it worked. Kind of. Not really very well at first.

The current Windows download - "Git for Windows" - is still msys-based, just with a lot of compatibility/package-management/ux-polish changes.

All that and the fact that recent Windows includes Windows Subsystem for Linux make the differentiation somewhat moot, but, essentially, Git is a *nix app.

Re:Learn just enough Linux to get things done by recursive on Thursday November 16, 2017 @02:27PM (#15715704)
Here's the full quote:

"What resulted was an expansive suite of programs and utilities (collectively, software) that were written in Linux, for Linux - much of which was never ported to Windows. One example of this is the popular version control system (VCS) called git. Developers could have written this software to work on Windows, but they didn't. "

It's just wrong.

Re:Learn just enough Linux to get things done by lucideer on Thursday November 16, 2017 @08:47PM (#15718345)
Technically it's correct. It's just really odd in tone; it almost sounds like it's unusual or negative that these utilities were not written to be completely cross-platform, as if that would be a norm.
Re:Learn just enough Linux to get things done by recursive on Thursday November 16, 2017 @10:48PM (#15718739)
But git is not an example of software that wasn't ported to windows. It was ported to windows.
Re:Learn just enough Linux to get things done by lucideer on Friday November 17, 2017 @08:52AM (#15721923)
Yeah, the wording is ambiguous. It could be construed to say Git is an example of a utility that wasn't ported, or just that it was a utility that was written in Linux, for Linux.
Re:Learn just enough Linux to get things done by bunderbunder on Thursday November 16, 2017 @12:42PM (#15714692)
Git for Windows relies pretty heavily on MinGW, though. And it's best used from the included bash shell.
Re:Learn just enough Linux to get things done by lelandbatey on Thursday November 16, 2017 @03:07PM (#15716101)
I do want to point out that Git being built with MinGW doesn't do anything to affect its compatibility. MinGW is basically just the GCC compiler suite ported Windows. It doesn't do anything about making C code written for Linux compatible with Windows.

Now typically, when you install MinGW it also installs some tools that let you operate within Windows a little bit more like you're working under Linux, such as by installing a more sane terminal emulator and Windows-compatible ports of some popular programs e.g. grep. But all those tools and such are ports of Linux programs running on Windows, not standard Linux programs running atop a compatibility layer to allow them to work on Windows.

I mention the above because this was an unclear distinction to me originally. Additionally, this was based on my experience with MinGW some five years ago, and I don't know if everything I've described is still true. Hopefully this slight aside clarifies things for someone.

Re:Learn just enough Linux to get things done by geezerjay on Saturday November 18, 2017 @01:34AM (#15728020)
> MinGW is basically just the GCC compiler suite ported Windows.

That's where you get it wrong. MinGW is a compatibility layer that helps port unix apps to windows. Yeah, it comes with GCC, but it also comes with support for POSIX, including a unix shell and other standard components.

Claiming that MinGW was just GCC would imply that to run Git on windows would be just a matter of recompiling the source code. But it isn't.

Re:Learn just enough Linux to get things done by alkonaut on Thursday November 16, 2017 @04:45PM (#15716956)
Why is git so heavily "posix-y" in a way that e.g. svn is not?
Re:Learn just enough Linux to get things done by givehimagun on Friday November 17, 2017 @12:05AM (#15719085)
Wasn't git created to support the development of the linux kernel? It was a linux thing first.