Re: [RFH] How to get git-gui.sh history
From: Marco Costalba <hidden>
Date: 2016-06-15 22:43:06
On 4/21/07, Julian Phillips [off-list ref] wrote:
On Sat, 21 Apr 2007, Michael wrote:quoted
Marco Costalba wrote:quoted
On 4/21/07, Junio C Hamano [off-list ref] wrote:quoted
"Marco Costalba" [off-list ref] writes: $ git rev-list -- git-gui.sh | wc -l 158This is strange....try git rev-list --all --full-history -- git-gui.sh | wc -l, that gives 158 for me (in the git repo) ...
Yes, --full-history here is the missed link here, it works also with just HEAD instead of --all $ git rev-list HEAD --full-history -- git-gui.sh | wc -l 158 Unfortunatly this is much slower, $ time git rev-list HEAD --full-history -- git-gui.sh > /dev/null 1.77user 0.03system 0:01.88elapsed 95%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+4030minor)pagefaults 0swaps $ time git rev-list HEAD -- git-gui.sh > /dev/null 0.80user 0.02system 0:00.91elapsed 91%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+3382minor)pagefaults 0swaps Marco