Web lists-archives.com

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




Hi Junio,



On 27 April 2019 10:36:55 GMT+05:30, Junio C Hamano <gitster@xxxxxxxxx> wrote:
>2019年4月27日(土) 2:58 Kaartic Sivaraam <kaartic.sivaraam@xxxxxxxxx>:
>>
>
>I can click it and reach https://github.com/git/git/commit/c49927fca0d
>but then
>that is more like "git show c49927fca". I can even go to its second
>parent with
>one click, but that is equivalent to "git show 97dd512a".  The page you
>showed,
>which is a rough equivalent to "git log --oneline 97dd512", is what I
>want to get
>to from there, but I am not sure how to get there X-<.

I seem to know of two ways to get to where you want to get to (git log --oneline 97dd512) from the page similar to "git show 97dd512" [1].

1. A direct way that requires two clicks:
a. You should click on the 'Browse files' button you see in the page that shows output like git show [1]. Then you'll get to the page where you see the files in the repository just like when you checkout 97dd512 [2].
b. From that page you could click on the number of commits to get to the page you want to see (page which shows output like "git log --oneline 97dd512") [3].

2. A simple but indirect way is to edit the URL when you are in page [1], and replace the 'commit' part in it with 'commits'. This is not a reliable way as there's a possibility that they could change the URL format but it seems to be working well for me so far :-)

Hope that helps.

References:

[1]: https://github.com/git/git/commit/97dd512af7ce4afb4f638ef73b4770921c8ca3aa

[2]: https://github.com/git/git/tree/97dd512af7ce4afb4f638ef73b4770921c8ca3aa

[3]: https://github.com/git/git/commits/97dd512af7ce4afb4f638ef73b4770921c8ca3aa

-- 
Sivaraam

Sent from my Android device with K-9 Mail. Please excuse my brevity.