cmds: use self.model.head for consistency in the Diff command
commit6de919ac63cd17da46e6bdb34acec95f2f84890e
authorDavid Aguilar <davvid@gmail.com>
Sat, 17 Jul 2021 19:26:09 +0000 (17 12:26 -0700)
committerDavid Aguilar <davvid@gmail.com>
Sat, 17 Jul 2021 19:26:09 +0000 (17 12:26 -0700)
tree13394f9796a534b127a6b4bc24605f5171c7bd4e
parent16697616a1580db11a171d1eff370975733227d7
cmds: use self.model.head for consistency in the Diff command

Use the same reference in the "if" conditional as inside the "if" body.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/cmds.py