Xit: a version control system

ce n’est pas clair ce que tu veux dire là ! (du moins pour moi)

git
git commit - a

or git commit -m “update_20250313_12:15”

his is what I do with Git.
commit -a -->I need to commit in an editor
commit -m → it validates everything without going through the editor and gives me the option of adding a message

git_memo_fr.pdf (475.8 KB)

I think your asking for a way to specify a commit message without an editor, or with an editor?

What you are using to translate seems to have gotten worse

You mean, you want current_date_time in commit? But it’s already exist with every git commit?

Maybe I’m missing something, but it seems to me this was a feature request: xit commit -m "my message".

Right?

1 Like

yea, looks like it. ie, -m flag to set commit message from the command line.

1 Like

There is a -m flag – in fact, that’s the only way to set the message right now :^D I haven’t implemented a way to write the message in an editor yet.

BTW I fixed some massive performance issues recently, so if anyone tried to clone a repo and couldn’t do so, please try again. GOTTA GO FAST, as the great Ricky Bobby once said.

5 Likes

Xit supports zig 0.16 on day one! I added support in a single massive commit, which took me many months of work: support zig 0.16 · xit-vcs/xit@093cf4a · GitHub

I also added support for server side networking to xit. That means receive-pack, upload-pack, and http-backend in pure Zig. You can now run git compatible servers that store the repos in the xit repo format.

7 Likes

You have (e)xit from git as a pun ready and waiting

3 Likes

I noticed that OP is cooking an interesting git forge written in Zig: https://www.youtube.com/watch?v=m7BOY1OCH_Q - definitely worth a watch!

I used Fossil a lot in the past, where issues/wiki/repo etc is available from a single executable, and happy to see that’s an inspiration.

Go Leeroy! I mean Zach.

2 Likes

I like your first commit message. Although git’s first commit message is still my favourite

3 Likes