mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-29 22:24:35 +00:00 
			
		
		
		
	Make batdiff more portable
This commit is contained in:
		| @@ -178,7 +178,7 @@ You can combine `bat` with `git diff` to view lines around code changes with pro | ||||
| highlighting: | ||||
| ```bash | ||||
| batdiff() { | ||||
|     git diff --name-only --relative --diff-filter=d -z | xargs --null bat --diff | ||||
|     git diff --name-only --relative --diff-filter=d -z | xargs -0 bat --diff | ||||
| } | ||||
| ``` | ||||
| If you prefer to use this as a separate tool, check out `batdiff` in [`bat-extras`](https://github.com/eth-p/bat-extras). | ||||
|   | ||||
		Reference in New Issue
	
	Block a user