diff: refactor object read
authorJonathan Tan <redacted>
Tue, 7 Apr 2020 22:11:42 +0000 (15:11 -0700)
committerJunio C Hamano <redacted>
Tue, 7 Apr 2020 23:09:29 +0000 (16:09 -0700)
commitc14b6f83ec7453d2a93bba04f45caf26905f2bff
treefa918791b1e3a7bbf0bc6836c134938ca4d53fdd
parent1c37e86ab2834dfca311799e799568794bc474ce
diff: refactor object read

Refactor the object reads in diff_populate_filespec() to have the first
object read not be in an if/else branch, because in a future patch, a
retry will be added to that first object read.

Signed-off-by: Jonathan Tan <redacted>
Signed-off-by: Junio C Hamano <redacted>
diff.c
git clone https://git.99rst.org/PROJECT