Any tig users here ? I’m happy with it since then, looks like the feature set is pretty similar
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.
GitUI: Terminal UI for Git
81–90 of 94 posts
Re: GitUI: Terminal UI for Git
#82At some point I often wonder why people are so damn intent on living in their terminals. This is an ASCII GUI with the exact same feature set that `git cola` offers which is extremely lightweight and keyboard friendly. The only difference is you can't click on something if you forget the keyboard shortcut.
tmux is my main reason. i love having sessions and being able to have the same setup regardless of whether i’m in an ec2 instance or my macbook
Re: GitUI: Terminal UI for Git
#83Earlier quoted context omitted.
when i have an embedded board with say 64mb storage,a few rust executable will fill them up fast. problem is that rust does not give me option to do dynamic link to its stdlib.
Not that this is based on some Googleing and experimentation; I could not find official docs. It actually is possible to dynamically link to the standard library. Add this to your project's .cargo/config.toml file: [build] rustflags = ["-C", "prefer-dynamic"] And add a reference to this crate, which copies the stdlib's shared library to your output directory: https://github.com/WilliamVenner/prefer-dynamic After you…
tried all size reduction tricks,still the size is much large,like 15x large than c,c++. even the stdlib is a 3x larger than to libstdc++
Re: GitUI: Terminal UI for Git
#84Earlier quoted context omitted.
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.
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 thin…
Re: GitUI: Terminal UI for Git
#85At some point I often wonder why people are so damn intent on living in their terminals. This is an ASCII GUI with the exact same feature set that `git cola` offers which is extremely lightweight and keyboard friendly. The only difference is you can't click on something if you forget the keyboard shortcut.
Re: GitUI: Terminal UI for Git
#86Earlier quoted context omitted.
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.
how does tig compare to something like magit?
It's the only tool I use to compliment the git cli.
Re: GitUI: Terminal UI for Git
#87Earlier quoted context omitted.
tmux is my main reason. i love having sessions and being able to have the same setup regardless of whether i’m in an ec2 instance or my macbook
why are you using git (in an advanced way, if at all) on ec2?
Re: GitUI: Terminal UI for Git
#88Earlier quoted context omitted.
Go programs are also statically linked and Go based CLI tools generally only come in at 3-4 MB IIRC. I've used static linking in binaries in Nim and C programs too with similar (or smaller) sizes. Rust binaries are just impressively large. I'd guess part of it must be how Rust monomorphizes generics: https://rustc-dev-guide.rust-lang.org/backend/monomorph.html
if you strip them you tend to lose a lot of the fat.
Re: GitUI: Terminal UI for Git
#89Earlier quoted context omitted.
if you strip them you tend to lose a lot of the fat.
Nice, any tips on how to do that? Is there a Cargo thing or just run regular ole strip?
Re: GitUI: Terminal UI for Git
#90Earlier quoted context omitted.
how does tig compare to something like magit?
It only does a fraction of what magit does. I just use it for scrolling though the commit history, occasionally searching messages, and it's my tool of choice for staging/unstaging hunks. It's the only tool I use to compliment the git cli.