bat --diff doesn't display the file contents after a repository has been made sparse, even if that sparse checkout is disabled.
What did you expect to happen instead?
I expected to see the modified line(s) with proper highlighting.
How did you install bat?
Through my system's package manager.
➜ pacman -Qi bat | head -n5
Name : bat
Version : 0.19.0-1
Description : Cat clone with syntax highlighting and git integration
Architecture : x86_64
URL : https://github.com/sharkdp/bat
> less --version
less 590 (PCRE2 regular expressions)
Copyright (C) 1984-2021 Mark Nudelman
less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Home page: https://greenwoodsoftware.com/less
Describe the bug you encountered:
bat --diff
doesn't display the file contents after a repository has been made sparse, even if that sparse checkout is disabled.What did you expect to happen instead?
I expected to see the modified line(s) with proper highlighting.
How did you install
bat
?Through my system's package manager.
bat version and environment
Software version
bat 0.19.0 (59a8f58b)
Operating system
Linux 5.16.2-arch1-1
Command-line
Environment variables
Config file
Compile time information
Less version
Fully reproducible walkthrough