{"thread":{"id":"7764","subject":"[RFH] How to get git-gui.sh history","startedAt":"2007-04-21T09:04:40Z","lastAt":"2007-04-21T20:01:39Z","messageCount":7,"participants":["Marco Costalba","Junio C Hamano","Michael","Julian Phillips"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"40031","messageId":"e5bfff550704210204p1f231076p6a68cb9d6038f4e3@mail.gmail.com","threadId":"7764","inReplyTo":null,"subject":"[RFH] How to get git-gui.sh history","fromName":"Marco Costalba","fromEmail":"mcostalba@gmail.com","sentAt":"2007-04-21T09:04:40Z","receivedAt":"2007-04-21T09:04:40Z","isPatch":false,"sender":{"key":"mcostalba@gmail.com","avatar":null},"body":">From today git:\n\n$ git rev-list --all -- git-gui/git-gui.sh | wc\n      7       7     287\n$ git rev-list --all --full-history -- git-gui/git-gui.sh | wc\n      9       9     369\n\n\nSo only the merges from git://repo.or.cz/git-gui are shown.\n\n\nAm I missing something? How can I get full history?\n\n\nThanks\nMarco\n"},{"id":"40032","messageId":"7vtzvaulwe.fsf@assigned-by-dhcp.cox.net","threadId":"7764","inReplyTo":"e5bfff550704210204p1f231076p6a68cb9d6038f4e3@mail.gmail.com","subject":"Re: [RFH] How to get git-gui.sh history","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2007-04-21T09:17:21Z","receivedAt":"2007-04-21T09:17:21Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Marco Costalba\" <mcostalba@gmail.com> writes:\n\n> From today git:\n>\n> $ git rev-list --all -- git-gui/git-gui.sh | wc\n>      7       7     287\n> $ git rev-list --all --full-history -- git-gui/git-gui.sh | wc\n>      9       9     369\n>\n> So only the merges from git://repo.or.cz/git-gui are shown.\n\nRemember, git does not have concept of \"file identity\".  Path\nfiltering feature of \"git log\" family of commands is just that:\nfiltering by path.\n\nYou are asking for commits that have difference in the specified\npaths (in your case, \"git-gui/git-gui.sh\") from their parents.\n\nShawn's git-gui repository does not have such a path at all.  He\nhas git-gui.sh at the toplevel.\n\n$ git rev-list -- git-gui.sh | wc -l\n158\n"},{"id":"40036","messageId":"e5bfff550704210238gfdb5a51i2a7f4a8d16396b28@mail.gmail.com","threadId":"7764","inReplyTo":"7vtzvaulwe.fsf@assigned-by-dhcp.cox.net","subject":"Re: [RFH] How to get git-gui.sh history","fromName":"Marco Costalba","fromEmail":"mcostalba@gmail.com","sentAt":"2007-04-21T09:38:29Z","receivedAt":"2007-04-21T09:38:29Z","isPatch":false,"sender":{"key":"mcostalba@gmail.com","avatar":null},"body":"On 4/21/07, Junio C Hamano <junkio@cox.net> wrote:\n> \"Marco Costalba\" <mcostalba@gmail.com> writes:\n>\n> $ git rev-list -- git-gui.sh | wc -l\n> 158\n>\n\nThis is strange....\n\nOn my box I have:\n\n$ git --version\ngit version 1.5.1.1.190.g74474\n$ git rev-parse HEAD\n744747ef1d75c85fb3a1785cb08d36497128d3d3\n$ git status\n# On branch master\nnothing to commit (working directory clean)\n$ git rev-list -- git-gui.sh | wc -l\nusage: git-rev-list [OPTION] <commit-id>... [ -- paths... ]\n  limiting output:\n    --max-count=nr\n    --max-age=epoch\n    --min-age=epoch\n    --sparse\n    --no-merges\n    --remove-empty\n    --all\n    --stdin\n  ordering output:\n    --topo-order\n    --date-order\n  formatting output:\n    --parents\n    --objects | --objects-edge\n    --unpacked\n    --header | --pretty\n    --abbrev=nr | --no-abbrev\n    --abbrev-commit\n    --left-right\n  special purpose:\n    --bisect\n    --bisect-vars\n0\n$\n"},{"id":"40051","messageId":"200704211654.16393.barra_cuda@katamail.com","threadId":"7764","inReplyTo":"e5bfff550704210238gfdb5a51i2a7f4a8d16396b28@mail.gmail.com","subject":"Re: [RFH] How to get git-gui.sh history","fromName":"Michael","fromEmail":"barra_cuda@katamail.com","sentAt":"2007-04-21T14:54:16Z","receivedAt":"2007-04-21T14:54:16Z","isPatch":false,"sender":{"key":"barra_cuda@katamail.com","avatar":"https://avatars.githubusercontent.com/u/16371673?v=4"},"body":"Marco Costalba wrote:\n> On 4/21/07, Junio C Hamano <junkio@cox.net> wrote:\n> > \"Marco Costalba\" <mcostalba@gmail.com> writes:\n> >\n> > $ git rev-list -- git-gui.sh | wc -l\n> > 158\n> >\n> \n> This is strange....\n\nI think Junio was referring to Shawn's git-gui repo:\nhttp://repo.or.cz/w/git-gui.git\n\n...Obviously, if you search for git-gui.sh in the toplevel directory\nof git.git repo you won't find anything ;)...\n"},{"id":"40054","messageId":"Pine.LNX.4.64.0704211703340.20005@beast.quantumfyre.co.uk","threadId":"7764","inReplyTo":"200704211654.16393.barra_cuda@katamail.com","subject":"Re: [RFH] How to get git-gui.sh history","fromName":"Julian Phillips","fromEmail":"julian@quantumfyre.co.uk","sentAt":"2007-04-21T16:05:24Z","receivedAt":"2007-04-21T16:05:24Z","isPatch":false,"sender":{"key":"julian@quantumfyre.co.uk","avatar":"https://avatars.githubusercontent.com/u/948888?v=4"},"body":"On Sat, 21 Apr 2007, Michael wrote:\n\n> Marco Costalba wrote:\n>> On 4/21/07, Junio C Hamano <junkio@cox.net> wrote:\n>>> \"Marco Costalba\" <mcostalba@gmail.com> writes:\n>>>\n>>> $ git rev-list -- git-gui.sh | wc -l\n>>> 158\n>>>\n>>\n>> This is strange....\n\ntry git rev-list --all --full-history -- git-gui.sh | wc -l, that gives \n158 for me (in the git repo) ...\n\n> I think Junio was referring to Shawn's git-gui repo:\n> http://repo.or.cz/w/git-gui.git\n>\n> ...Obviously, if you search for git-gui.sh in the toplevel directory\n> of git.git repo you won't find anything ;)...\n\nIn the git repo, try this:\n\ngit show 41bdcda37376a5faa63028f01260890723c3fcfa -- git-gui.sh\n\n;)\n\n-- \nJulian\n\n  ---\n[during the preview for the new action movie about Jesus]\nTV Announcer:  This Christmas, let He who is without sin kick the first ass.\n"},{"id":"40060","messageId":"e5bfff550704211019w67cb128ajba0bd1a6b56ada3a@mail.gmail.com","threadId":"7764","inReplyTo":"Pine.LNX.4.64.0704211703340.20005@beast.quantumfyre.co.uk","subject":"Re: [RFH] How to get git-gui.sh history","fromName":"Marco Costalba","fromEmail":"mcostalba@gmail.com","sentAt":"2007-04-21T17:19:34Z","receivedAt":"2007-04-21T17:19:34Z","isPatch":false,"sender":{"key":"mcostalba@gmail.com","avatar":null},"body":"On 4/21/07, Julian Phillips <julian@quantumfyre.co.uk> wrote:\n> On Sat, 21 Apr 2007, Michael wrote:\n>\n> > Marco Costalba wrote:\n> >> On 4/21/07, Junio C Hamano <junkio@cox.net> wrote:\n> >>> \"Marco Costalba\" <mcostalba@gmail.com> writes:\n> >>>\n> >>> $ git rev-list -- git-gui.sh | wc -l\n> >>> 158\n> >>>\n> >>\n> >> This is strange....\n>\n> try git rev-list --all --full-history -- git-gui.sh | wc -l, that gives\n> 158 for me (in the git repo) ...\n>\n\nYes, --full-history here is the missed link here, it works also with\njust HEAD instead of --all\n\n$ git rev-list HEAD --full-history -- git-gui.sh | wc -l\n158\n\n\nUnfortunatly this is much slower,\n\n$ time git rev-list HEAD --full-history -- git-gui.sh > /dev/null\n1.77user 0.03system 0:01.88elapsed 95%CPU (0avgtext+0avgdata 0maxresident)k\n0inputs+0outputs (0major+4030minor)pagefaults 0swaps\n\n$ time git rev-list HEAD -- git-gui.sh > /dev/null\n0.80user 0.02system 0:00.91elapsed 91%CPU (0avgtext+0avgdata 0maxresident)k\n0inputs+0outputs (0major+3382minor)pagefaults 0swaps\n\n   Marco\n"},{"id":"40068","messageId":"200704212201.39306.barra_cuda@katamail.com","threadId":"7764","inReplyTo":"Pine.LNX.4.64.0704211703340.20005@beast.quantumfyre.co.uk","subject":"Re: [RFH] How to get git-gui.sh history","fromName":"Michael","fromEmail":"barra_cuda@katamail.com","sentAt":"2007-04-21T20:01:39Z","receivedAt":"2007-04-21T20:01:39Z","isPatch":false,"sender":{"key":"barra_cuda@katamail.com","avatar":"https://avatars.githubusercontent.com/u/16371673?v=4"},"body":"Julian Phillips wrote:\n> In the git repo, try this:\n> \n> git show 41bdcda37376a5faa63028f01260890723c3fcfa -- git-gui.sh\n> \n> ;)\n\nI forgot that git could search in that history too...\n\nbtw:\n\ngit grep full-history Documentation/* | wc -l\n0\n"}]}