]> git.ipfire.org Git - thirdparty/git.git/commitdiff
diff: refactor object read
authorJonathan Tan <jonathantanmy@google.com>
Tue, 7 Apr 2020 22:11:42 +0000 (15:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Apr 2020 23:09:29 +0000 (16:09 -0700)
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 <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

No differences found