Re: Bug Report: Superfluous Tab Characters
- From
- Martin Ågren <martin.agren@gmail.com>
- Date
- Feb 3, 2023, 13:43 UTC
- Message-ID
- <CAN0heSqwVV_G_nrt=omK0UjXVAD+TYPC+oB-1xHF4dG4oovncA@mail.gmail.com>
- In-Reply-To
- <CADPR2CUgrO6ius5ss9Mgk8Zktf+4zQDq0vP4EEKOMku7K=V6FA@mail.gmail.com>
Hi Diogo,
On Fri, 3 Feb 2023 at 13:50, Diogo Fernandes <diogoabfernandes@gmail.com> wrote:
Show 6 quoted lines
> > I have run into a bug where git seems to be adding superfluous tabs to > the end of filenames that contain a space. I have attached the output > of `git bugreport` for your review. Feel free to have a look > https://github.com/trufflesecurity/trufflehog/issues/1060 for > additional context.
The code that adds this tab in the output of `git log` and friends has changed a bit since it was originally added in 1a9eb3b9d5 ("git-diff/git-apply: make diff output a bit friendlier to GNU patch (part 2)", 2006-09-22), but in that commit you can see the original motivation.
Here's an online view: https://github.com/git/git/commit/1a9eb3b9d50367bee8fe85022684d812816fe531
Martin