What does the second hash in the /commit/ page stand for? Or how to make a summary of commits

Hi I’m making an application that sends an email with the files that were changed in the previous day in a given repository. Now I’m trying to add a link to the diff of each file. But I don’t know what the entire url of diffs stand for.
Diff URLs look like this https://git.tjse.jus.br/my group/my project/-/commit/commit hash?some options#second hash
The second hash from what I gleaned stands for the file that’s being referenced in the commit, but I don’t know how to obtain that hash. I can tell that it’s a sha1 but it’s not a sha of the name of the file or the contents of the file at that commit or the hash of the previous contents.
Can anyone tell me what it is?

1 Like