git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Martin Ågren" <martin.agren@gmail.com>
To: Diogo Fernandes <diogoabfernandes@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Bug Report: Superfluous Tab Characters
Date: Fri, 3 Feb 2023 14:43:34 +0100	[thread overview]
Message-ID: <CAN0heSqwVV_G_nrt=omK0UjXVAD+TYPC+oB-1xHF4dG4oovncA@mail.gmail.com> (raw)
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:
>
> 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

  reply	other threads:[~2023-02-03 13:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-03 12:29 Bug Report: Superfluous Tab Characters Diogo Fernandes
2023-02-03 13:43 ` Martin Ågren [this message]
     [not found]   ` <CADPR2CXR_KRKFjPA-0ZuHGHHq_-epHXtJWCuwYx6uvLF_H49mg@mail.gmail.com>
2023-02-05 15:28     ` Martin Ågren
2023-02-05 17:01       ` Diogo Fernandes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN0heSqwVV_G_nrt=omK0UjXVAD+TYPC+oB-1xHF4dG4oovncA@mail.gmail.com' \
    --to=martin.agren@gmail.com \
    --cc=diogoabfernandes@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).