Skip to contentSkip to conversation

match ncscope.out

PATCH In review Jike Song 4 participants 5 messages May 20, 2008 – May 25, 2008

lore
Share & tools
lore

Jike Song

author
#0 lore raw

PATCH 1/1 match ncscope.out

From e8e67fca3f9227b612a59d8afd0464222231e362 Mon Sep 17 00:00:00 2001
From: Jike Song <[email protected]>
Date: Tue, 20 May 2008 16:15:05 +0800
Subject: [PATCH] [.gitignore] match ncscope.out

Sometimes I got this:

   $ git-status
   {snip}
   # On branch master
   # Untracked files:
   #   (use "git add <file>..." to include in what will be committed)
   #
   #       ncscope.out
   nothing added to commit but untracked files present (use "git add" 
to track)

Fix it.

---
.gitignore | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
.gitignore +0 -0
index 090b293..a48b1e1 100644
@@ -51,7 +51,7 @@ patches

series

# cscope files
-cscope.*
+*cscope.*

*.orig
*.rej

Signature · 1 line
1.5.4.1
#1 lore raw
Quoted 7 lines · Jike Song

From e8e67fca3f9227b612a59d8afd0464222231e362 Mon Sep 17 00:00:00 2001
From: Jike Song <[email protected]>
Date: Tue, 20 May 2008 16:15:05 +0800
Subject: [PATCH] [.gitignore] match ncscope.out

Sometimes I got this:

Quoted 9 lines
   $ git-status
   {snip}
   # On branch master
   # Untracked files:
   #   (use "git add <file>..." to include in what will be committed)
   #
   #       ncscope.out
   nothing added to commit but untracked files present (use "git add" to 
track)

Yes, there is also another two files, ncscope.in.out and ncscope.po.out

kongove@ubuntu:~/git/linux-2.6$ git commit -a
# On branch master
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       ncscope.in.out
#       ncscope.po.out
Signature · 4 lines
| Feel Earthquake, Feel Fright!
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Jianjun Kong | www.kongove.cn
| Xi'an Institute of Post & Telecommunications
#2 lore raw
In reply to Jike Song
Quoted 12 lines · Jike Song

---
.gitignore | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
.gitignore +0 -0
index 090b293..a48b1e1 100644
@@ -51,7 +51,7 @@ patches

series

# cscope files

.gitignore

Quoted 2 lines
.gitignore +1 -1
-cscope.*
+*cscope.*

Unless you know there is acscope, bcscope, etc. I'd rather add just ncscope.* instead of the catches-more *cscope.*.

author
#3 lore raw

sounds reasonable. As far as I know, `ncscope*.out' is enough to match all the cscope tmp files.

--
thanks and regards,
Jike

Quoted 20 lines · Jan Engelhardt
Quoted 12 lines · Jike Song

---
.gitignore | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
.gitignore +0 -0
index 090b293..a48b1e1 100644
@@ -51,7 +51,7 @@ patches

series

# cscope files

.gitignore

Quoted 2 lines
.gitignore +1 -1
-cscope.*
+*cscope.*

Unless you know there is acscope, bcscope, etc. I'd rather add just ncscope.* instead of the catches-more *cscope.*.

#4 lore raw
In reply to Jan Engelhardt
Quoted 13 lines · Jan Engelhardt
Quoted 11 lines · Jike Song

---
.gitignore | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
.gitignore +0 -0
index 090b293..a48b1e1 100644
@@ -51,7 +51,7 @@ patches

series

Quoted 6 lines

.gitignore

Quoted 3 lines
# cscope files
.gitignore +1 -1
-cscope.*
+*cscope.*

Unless you know there is acscope, bcscope, etc. I'd rather add just ncscope.* instead of the catches-more *cscope.*.

I did this change when I applied it.

Thanks,
Sam