Web lists-archives.com

Re: What's cooking in git.git (Apr 2019, #05; Thu, 25)




On Sat, Apr 27, 2019 at 02:06:55PM +0900, Junio C Hamano wrote:

> 2019年4月27日(土) 2:58 Kaartic Sivaraam <kaartic.sivaraam@xxxxxxxxx>:
> >
> > May be you are searching for the following view which lists (similar to git log --one-line) the commits starting from  97dd512 which is the last in the tb/unexpected series?
> >
> > https://github.com/git/git/commits/97dd512af7ce4afb4f638ef73b4770921c8ca3aa
> 
> Yes, exactly. The problem I have is it is not obvious how to get there
> starting from
> https://github.com/git/git/

Not exactly in git.git, but I'd probably do something like:

  https://github.com/git/git/compare/master...gitster:tb/unexpected

You can get there by going to the "branches" tab in gitster/git, then
"tb/unexpected", and then "compare" (either from the branch selection
page, or if you've already clicked through from the tree view of that
branch).

>From _just_ inside git.git it's trickier, since it doesn't have that
branch. I don't think there's an easy way to click through to a
compare-view there, since arbitrary commits that people are looking at
might or might not be useful tips for the compare-view (which is also
really the pull request view).

I'd probably just generate this URL myself:

  https://github.com/git/git/compare/master...c49927fca0de4c213ae9b21dcb7eafb80e453d27^2

since it's stable and pretty readable.

Probably more than you wanted to know, but I feel like I ought to be
able to drop at least a little GitHub wisdom. ;)

-Peff