News for hackers. Stuff that matters.
Re:What comes after Git? by aspyct on Friday December 25, 2020 @07:09AM (#25536008)
Git still works great.

Why would it need to be replaced, just because it's 15 years old? I can think of a zillion things that are over 15 years and still very much working.

Re:What comes after Git? by asiachick on Friday December 25, 2020 @08:50AM (#25536447)
If you come from games you'll see where git fails miserably. Modern AAA games have terabytes of assets. p4 has handled this. git, has not. p4 also manages the fact that unlike source code you often can't merge certain assets so you need networked access controls (as in A can't edit this now because B is edit it).

Note I love git, but I don't know any big game studios using it. Some indies get by because their games are smaller but even then it can be a pain.

Re:What comes after Git? by lupire on Thursday December 31, 2020 @11:10PM (#25600775)
What about git-annex for the large asset files?
Re:What comes after Git? by thiht on Friday December 25, 2020 @02:18PM (#25538388)
Does it have to be a goal for Git? Most of the development is not game development
Re:What comes after Git? by TillE on Friday December 25, 2020 @03:43PM (#25538888)
But there's no good fundamental reason why it has to be that way.

The general point is: Git mostly works fine for what it is, but version control can 1) be easier to use, and 2) serve more purposes than Git currently does.

Imagine a perfect, seamless version control system that does everything you want with minimal effort. Git isn't that, not even if you've put in the time necessary to become an expert.

Re:What comes after Git? by jayflux on Friday December 25, 2020 @07:32AM (#25536098)
I agree, Git will be replaced when there’s a general limitation affecting many developers and something comes along that solves that. It won’t be replaced for the sheer sake of it or because we’re “bored” of it.

It’s also still actively developed so it’s not like some “stale” software we use because of inertia.

Re:What comes after Git? by bachmeier on Friday December 25, 2020 @08:07AM (#25536244)
> Git still works great.

Of course, for people that know how to use it. I'd argue that the heavy use of Github combined with the adoption of advanced Git workflows is currently the biggest threat to open source. There's no such thing as "submitting a patch" these days. You're expected to be a master of a project's Github workflow to contribute. Most of us (myself included, with a few exceptions) just don't bother.

Re:What comes after Git? by compsciphd on Friday December 25, 2020 @08:23AM (#25536312)
I dont understand this issue. I'd argue that github PR model has simplified "submitting a patch" to a tremendous degree.
Re:What comes after Git? by u801e on Friday December 25, 2020 @01:50PM (#25538230)
Before Github, submitting a patch required reading some documentation in the project about how to submit patches, set up one's git config to properly generate the patches and email them. Then came the part of actually making the changes, generating the patches and running a git command to submit them.

With Github, one has to fork the project, run some commands to clone the repo from the fork, make the changes, push them, and then go back to the web interface to create the pull request.

Re:What comes after Git? by gnufx on Friday December 25, 2020 @03:16PM (#25538725)
It didn't even require that. You fixed something from the immediately-buildable tarball that you'd rebuilt and tested, or even something that didn't need a rebuild (config, doc, interpreted source), and sent the change, perhaps using M-x diff-backup. You didn't have pull 100Mb of git stuff, figure out how to rebuild the build framework, find you hadn't got the submodules, prat about with a pull request, and then whatever demands it makes of you, etc.

I was fine with that as a maintainer too, on three very active major projects at one time (using a 48Mb Pentium 1). A maintainer's job is partly to make it easy for contributors, not for the maintainer, but tending the contributors will help in the end.

Re:What comes after Git? by u801e on Friday December 25, 2020 @09:13PM (#25540785)
> You fixed something from the immediately-buildable tarball that you'd rebuilt and tested

That entirely depends on whether the necessary libraries and headers are installed on the system you're using.

> even something that didn't need a rebuild (config, doc, interpreted source), and sent the change, perhaps using M-x diff-backup

Unless someone uses emacs and gnus or something similar, email clients could end up mangling the diff unless it was sent as an attachment (which would make reviewing the code and posting an inline response more difficult).

Re:What comes after Git? by Leherenn on Friday December 25, 2020 @03:28PM (#25538790)
Both seems non perfect to me.

Having to set up one's git config or having to fork a repo seem to be accidental complexity is both cases.

Re:What comes after Git? by u801e on Friday December 25, 2020 @07:24PM (#25540294)
To be fair, setting up one's git config is a one time step. But there is a bit of effort required to keep one's GitHub fork up to date relative to the repository it was forked from.
Re:What comes after Git? by compsciphd on Monday December 28, 2020 @01:13PM (#25561496)
git fetch upstream ; git rebase -i upstream/master isn't that hard.
Re:What comes after Git? by u801e on Saturday January 09, 2021 @02:35AM (#25698389)
It depends on whether the histories have diverged and how many conflicts there are. A lot of people aren't very proficient with the use of git and will have problems (e.g., running git pull) and creating a merge commit in their branch or having conflicts they need to resolve.

The next time they open a PR using that branch, it will have commits that will clutter the branch.

Re:What comes after Git? by xiphias2 on Friday December 25, 2020 @10:25AM (#25536962)
Github and git are very different. Github is easyer to use, but doesn't cover all of git's use cases. So actually I'm all for reworking the base commands to support a workflow more similar to GitHub's, but still distributed.
Re:What comes after Git? by shred45 on Friday December 25, 2020 @08:43AM (#25536421)
What you says is true, it can be very difficult to submit ad-hoc patches to large projects. In my experience, however, this has been due to brittle, undocumented automated checks and newbie-hostile maintainers who have built a complex contribution process. I'm not convinced that a different version control system would change this. There are also many projects on GitHub that are very pleasant to work with.
Re:What comes after Git? by tomcooks on Friday December 25, 2020 @08:35AM (#25536382)
Isn't this "knowing how to use it" come with the usual dose of RTFM and/or trying things?

Moreover, I suggest you fork the project and apply your own modifications instead of worrying about a GitHub project administrator to accept your changes

Re:What comes after Git? by throwaway894345 on Friday December 25, 2020 @08:36AM (#25536392)
Don’t you just need to open a pull request? Or is there more ceremony that I’m missing?
Re:What comes after Git? by usr1106 on Friday December 25, 2020 @07:25AM (#25536068)
The plumbing is great. The porcelain would deserve a more consistent and easier to use implementation.
Re:What comes after Git? by masklinn on Friday December 25, 2020 @08:13AM (#25536276)
> The porcelain would deserve a more consistent and easier to use implementation.

Many have taken a crack at it over the years, from very early on.

Issue's no porcelain will even replace the built-in one (and what improvements are added to the standard are generally flawed to hell, just look at how messy the brand new `git switch` already is, the git core team simply has no taste when it comes to CLI), and as the creator of a new high-level CLI by the time you'll have good enough feature coverage for it to be useful you'll know the plumbing so well the porcelain will make perfect sense. So you'll abandon the project as offering little value for the maintenance cost. And a few years later somebody else will come in and create their own, and repeat the cycle.

Re:What comes after Git? by hprotagonist on Friday December 25, 2020 @07:42AM (#25536131)
magit is grand. but editor specific.
Re:What comes after Git? by kubanczyk on Friday December 25, 2020 @08:08AM (#25536251)
I often just magit on a separate terminal and edit with some other IDE/editor.

You don't need to learn emacs beyond C-X 0 and C-X C-B really.

Productivity is higher than with manual git commands.

Re:What comes after Git? by dotancohen on Friday December 25, 2020 @08:24AM (#25536319)
That's like saying that the Git CLI is specific to CLI users. It is, but anybody can use the CLI or open Emacs no matter what they use to edit the code. I personally started using Emacs for Org-mode, but I code in the Jetbrains IDEs.

Now the Jetbrains IDEs have a absolutely terrific Git integration, but if they didn't I could still open Emacs and use Magit.

Re:What comes after Git? by _ph_ on Friday December 25, 2020 @08:37AM (#25536397)
For me the question is less whether Git stopped working, but whether there is any progress being made beyond Git. As Git is around for 15 years now, it is a justified question, if there are any exciting new developments beyond Git.
Re:What comes after Git? by eesmith on Friday December 25, 2020 @02:10PM (#25538341)
I think Fossil adds things beyond Git, because it also supports "bug tracking, wiki, forum, and technotes." https://fossil-scm.org/home/doc/trunk/www/index.wiki

I think it's odd that so many people use a DVCS as part of a development system so dependent on a centralized server for everything else.

Re:What comes after Git? by smitty1e on Friday December 25, 2020 @09:17AM (#25536596)
There seems a focus on new=improved in human thinking.

Often this is true, but fetishing change for its own sake becomes inefficient.

Re:What comes after Git? by Freak_NL on Friday December 25, 2020 @07:32AM (#25536096)
Git just works most of the time, and any issues that arise tend to have to do with the complexity of the codebase rather than git (e.g., rebasing a large feature-branch over dozens of commits).

Besides, auxiliary tools aside (I use git shell and a bunch of aliases), the git executable too is still improving. It will be a long time before anything that might replace it reaches both the maturity and the tipping point of having enough extra features to make it worthwhile to consider switching.

Re:What comes after Git? by tomcooks on Friday December 25, 2020 @08:31AM (#25536356)
It's the usual "controversial" Twitter post to boost one's account, I suggest not looking too much it and moving on