The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

415332 (1) [Avatar] Offline
I'm pulling out my hair trying to find a gentle but thoughtful explanation of the syntax and meaning of hunk strings. I've looked on page 64 (which is brief) and scoured the internet but am coming back empty.

I'm baffled why "the first line (-1)" would be a negative number. I'm also baffled how git diff knows how many lines to include in a hunk.

Maybe I'm in a google filter bubble or something. Do you know something that explains hunks?