Skip to contentSkip to conversation

.gitignore: ignore .patch files

PATCH In review Chen Qi 2 participants 3 messages Aug 5, 2019 – Aug 6, 2019

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 .gitignore: ignore .patch files

---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
.gitignore +1 -0
index 65feb82..f0047e5 100644
@@ -3,4 +3,5 @@ pyshtables.py
 *.swp
 *.orig
 *.rej
+*.patch
 *~
Signature · 1 line
2.17.1
#1 lore raw

Not that I fundamentally disagree with the patch .. but why would we want to .gitignore patches ? I personally want them to be picked up as changed, or if they've been dropped in the wrong directory.

Bruce

Quoted 24 lines · Chen Qi
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
.gitignore +1 -1
index 65feb82..f0047e5 100644
@@ -3,4 +3,5 @@ pyshtables.py
 *.swp
 *.orig
 *.rej
+*.patch
 *~
--

2.17.1

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
author
#2 lore raw
Quoted 1 line · Bruce Ashfield

Not that I fundamentally disagree with the patch .. but why would we want to .gitignore patches ? I personally want them to be picked up as changed, or if they've been dropped in the wrong directory.

Sorry. I meant to ignore patches in top dir of meta-virtualization. It should be /*.patch like in oe-core and meta-openembedded's .gitignore. I'll send out V2.

Best Regards,
Chen Qi

Quoted 38 lines

Bruce

On Mon, Aug 5, 2019 at 8:56 AM Chen Qi <[email protected] <mailto:[email protected]>> wrote:

    Signed-off-by: Chen Qi <[email protected]
    <mailto:[email protected]>>
    ---
     .gitignore | 1 +
     1 file changed, 1 insertion(+)

    diff --git a/.gitignore b/.gitignore
    index 65feb82..f0047e5 100644
    --- a/.gitignore
    +++ b/.gitignore
    @@ -3,4 +3,5 @@ pyshtables.py
     *.swp
     *.orig
     *.rej
    +*.patch
     *~
    -- 
    2.17.1

    -- 
    _______________________________________________
    meta-virtualization mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await 
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II