public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: trailing whitespace in some patches I just submitted
Date: Tue, 01 Mar 2022 13:17:51 +0000	[thread overview]
Message-ID: <8EFA31CC-B7FB-4345-A902-8BE8CB0BF45A@ipfire.org> (raw)
In-Reply-To: <ac7ad9e2-6928-d814-43e3-feb6534e9bc5@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1808 bytes --]

Hello Adolf,

> On 28 Feb 2022, at 21:34, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
> 
> Hi All,
> 
> Peter just flagged up that I had a trailing whitespace on the Dist: line of my cifs-utils patch.
> 
> 
> Just before seeing that email I had just submitted 4 patches for harfbuzz, hplip, libdnet and ntfs-3g
> 
> hplip, which is an addon, also has the trailing whitespace on the Dist: line.

This has been traditionally carried over for decades. It shouldn’t be there as it serves no purpose, but Peter has decided to remove them all.

This has also happened in other files.

> I don't know definitely why this is happening but I think I copied the lfs files on a laptop via an ssh connection and normally I do the work on my desktop machine. I use the same text editing program on both systems, but it may be that they are not configured the same.
> 
> I will try and find out and fix the cause for the problem and in the short term I will do everything on my desktop machine.

It would generally better to rebase your branches against next before sending anything to the list, because that will automatically take care of such things and literally merge them together.

Ideally, you wouldn’t notice a thing and it just works.

If it goes wrong (because two people have edited the same lines at the same time for example), Git will ask you to resolve this because it doesn’t know what it is actually doing there.

> Sorry for the problems.

Not a problem.

> Should I re-issue the hplip patch or can that be adjusted on the fly?

If the patch is being edited, Patchwork won’t pick it up any more. I would personally just leave this as is and live with the whitespace error. It is not the end of the world.

-Michael

> 
> 
> Regards,
> 
> Adolf.
> 


       reply	other threads:[~2022-03-01 13:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ac7ad9e2-6928-d814-43e3-feb6534e9bc5@ipfire.org>
2022-03-01 13:17 ` Michael Tremer [this message]
2022-03-01 14:27   ` Adolf Belka

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

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

  git send-email \
    --in-reply-to=8EFA31CC-B7FB-4345-A902-8BE8CB0BF45A@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox