this post was submitted on 11 Jan 2025
81 points (98.8% liked)

Linux

5594 readers
231 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
all 13 comments
sorted by: hot top controversial new old
[–] FizzyOrange@programming.dev 5 points 1 day ago

Git has four build systems?? Meson seems overkill if you already have CMake too. The only thing it really adds is that it's nicer to write (CMake is somewhere between Bash and PHP in sanity), but if you have to write CMake anyway...

[–] uranibaba@lemmy.world 13 points 1 day ago
  • When "git fetch $remote" notices that refs/remotes/$remote/HEAD is missing and discovers what branch the other side points with its HEAD, refs/remotes/$remote/HEAD is updated to point to it.

That is nice.

[–] Ephera@lemmy.ml 9 points 1 day ago
[–] Phen@lemmy.eco.br 9 points 1 day ago (4 children)
[–] FizzyOrange@programming.dev 14 points 1 day ago

Yep, whenever they fix a bug it's added in a new flag that nobody knows about.

git --enable-sane-behaviour
[–] kbal@fedia.io 3 points 1 day ago (1 children)

As a casual git user I imagine the process normally goes something like this:

  1. Development happens.
  2. New feature makes it into the release version of git.
  3. New version makes it into the various linux distro repositories.
  4. People who run big git repos install the update.
  5. Serious nerds hear about it and use the feature.
  6. Many years pass.
  7. I learn about it, if it's widely used enough.
[–] colorado@programming.dev 1 points 13 hours ago (1 children)

The big change in my opinion is we don't need to tell newcomers about git checkout at all. Git switch --create is much better.

[–] timbuck2themoon@sh.itjust.works 2 points 12 hours ago

I'm so old I still just use git checkout -b somebranch anyway.

[–] Mauryamj@programming.dev 1 points 1 day ago

U are the only one who knows my pain

[–] ethancedwards8@programming.dev 3 points 1 day ago (1 children)

If one wants to help with Git development, where would they start?

[–] FizzyOrange@programming.dev 2 points 4 hours ago

The liquor store presumably? Just submitting patches is a simple 12 step process. I can't imagine the development and review process is any easier.

I have implemented a Git client from scratch which involved quite a bit of reading the Git source code. It's not bad code but it's definitely the sort of code that would break in all sorts of unexpected ways if you changed something. I wouldn't volunteer my time their tbh.