• [gentoo-dev] Re: [PATCH] profiles: remove default ALSA_CARDS setting fr

    From Mike Gilbert@21:1/5 to floppym@gentoo.org on Tue Oct 26 20:50:01 2021
    On Tue, Oct 26, 2021 at 2:38 PM Mike Gilbert <floppym@gentoo.org> wrote:
    diff --git a/profiles/desc/.alsa_cards.desc.swp b/profiles/desc/.alsa_cards.desc.swp
    new file mode 100644
    index 0000000000000000000000000000000000000000..e96a7263d04461d069c3e6ecaf2730efc81dfbde
    GIT binary patch

    Oops, I accidentally committed my vim swap file. I have fixed this locally.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hanno =?UTF-8?B?QsO2Y2s=?=@21:1/5 to Mike Gilbert on Thu Oct 28 10:00:01 2021
    On Tue, 26 Oct 2021 14:41:01 -0400
    Mike Gilbert <floppym@gentoo.org> wrote:

    Oops, I accidentally committed my vim swap file. I have fixed this
    locally.

    Should we add *.swp (and a few others like *~, *.bak, *.orig) to
    .gitignore to avoid this from happening again?

    --
    Hanno Böck
    https://hboeck.de/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matthew Smith@21:1/5 to All on Thu Oct 28 12:40:02 2021
    Hi,

    On 28/10/2021 08:55, Hanno Böck wrote:
    On Tue, 26 Oct 2021 14:41:01 -0400
    Mike Gilbert <floppym@gentoo.org> wrote:

    Oops, I accidentally committed my vim swap file. I have fixed this
    locally.

    Should we add *.swp (and a few others like *~, *.bak, *.orig) to
    .gitignore to avoid this from happening again?

    I think it's best if people put their editor's temporary/backup
    files in their local gitignore, instead of trying to maintain a
    giant per-repository ignore file that needs amending for every
    user's favourite editor.

    For example, in ~/.gitconfig:

    [core]
    excludesFile = ~/.gitignore

    Then ~/.gitignore can contain:

    *.swp
    *.bak
    *.orig

    Thanks,
    Matthew

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)