top | item 32881459

(no title)

jblecanard | 3 years ago

Any tig users here ? I’m happy with it since then, looks like the feature set is pretty similar

discuss

order

synergy20|3 years ago

tig rules.

gitui does not support vim keybinding for me, or I did not find out how.

rust's size always surprise me:

tig -- 600KB, gitui: 11MB

similar size pattern for other utilties, in general, rust executable is about 200x larger than its c/c++ peers, and, they all linked to similar c/c++ libraries, looks like rust stdlib is pretty big in size to me.

zmmmmm|3 years ago

looks like there's a key binding file to enable vim bindings.

Having said that, I'm also a tig user and at least at first glance, I prefer its simplicity. Gitui presents a huge amount of info on the default screen and spends quite a lot of real estate drawing borders around everything. Tig just takes me straight to the commit history, full screen and then I have single key actions to get to other views.

The only thing I don't like with Tig is how little it binds to keys with the expectation that you set up your own mappings to git commands. I would prefer it baked more of them in so they would be standard and documented ... but that is a minor complaint.

accountofme|3 years ago

IIRC rust statically links crates used by the application, so it might not just be the stdlib that is causing this.

efficax|3 years ago

rust binaries are statically linked, that's the big difference. If you included all the libc code statically in most c programs they'd probably also be pretty big

thayne|3 years ago

I bet that size could be brought down with link time optimization, at the cost of longer build times, and potentially slower performance.

comonoid|3 years ago

gitui has much bigger feature set than tig. Rust binaries might be larger because Rust makes creating complex software possible.

samuell|3 years ago

Tig is just awesome. So well thought out, with sensible shortcuts for every relevant action in each context. Must have gone a lot of thought into it.

petepete|3 years ago

I use tig daily. I've never used anything I like as much for quickly browsing through commits in a repository or staging individual hunks.

weaksauce|3 years ago

how does tig compare to something like magit?

georgyo|3 years ago

Happy tig user. Viewing git history without it is painful.

mcbuilder|3 years ago

I used tig way back in the day, but I have found `magit` to be superior and one of the most useful emacs packages that I use daily.

rvz|3 years ago

Nothing wrong with tig. It just works.