View Issue Details

IDProjectCategoryView StatusLast Update
0000243fileGeneralpublic2021-03-14 16:54
Reportercatull Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Fixed in Version5.40 
Summary0000243: Add libmagic.pc to .gitignore
DescriptionWhen developing under git, the generated file above appears as "untracked file", see below.

With the patch applied, it will be duely ignored by git.
Steps To Reproducegit clone git@github.com:file/file.git
cd file
autoreconf -f -i
./configure
make
git status -b
Additional InformationThe last command shows:

➜ file.git git:(master) git status -b
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
    libmagic.pc

nothing added to commit but untracked files present (use "git add" to track)
TagsNo tags attached.

Activities

catull

2021-03-02 15:45

reporter  

gitignore.diff (213 bytes)   
diff --git a/.gitignore b/.gitignore
index 2111f14d..a7c15cb6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,6 +31,8 @@ Makefile.in
 /doc/libmagic.3
 /doc/magic.4
 
+/libmagic.pc
+
 /magic/magic.mgc
 
 /src/file
gitignore.diff (213 bytes)   

christos

2021-03-14 16:54

manager   ~0003569

Fixed, thanks!

Issue History

Date Modified Username Field Change
2021-03-02 15:45 catull New Issue
2021-03-02 15:45 catull File Added: gitignore.diff
2021-03-14 16:54 christos Assigned To => christos
2021-03-14 16:54 christos Status new => assigned
2021-03-14 16:54 christos Status assigned => resolved
2021-03-14 16:54 christos Resolution open => fixed
2021-03-14 16:54 christos Fixed in Version => 5.40
2021-03-14 16:54 christos Note Added: 0003569