Apologies, noticed today last commit breaks a few things. This is what we wanted.
Commit e0fe17114 ("fix(git show): allow cwd outside root git dir") removed the "./" prefix before the filename when cwd did not equal the root git dir.
Some aspects of VGit like live gutter and hunk preview rely on this, so replace with self.cwd instead.
Hi tanvirtin,
Apologies, noticed today last commit breaks a few things. This is what we wanted.
Commit e0fe17114 ("fix(git show): allow cwd outside root git dir") removed the "./" prefix before the filename when cwd did not equal the root git dir.
Some aspects of VGit like live gutter and hunk preview rely on this, so replace with self.cwd instead.
Thanks