gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master e40602b0: .gitignore: does not ignore gnuastro


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master e40602b0: .gitignore: does not ignore gnuastro-internal, only tarballs
Date: Mon, 5 Jun 2023 09:47:38 -0400 (EDT)

branch: master
commit e40602b0b077f4a7bd5ea205121411f167606ae0
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    .gitignore: does not ignore gnuastro-internal, only tarballs
    
    Until now, the '.gitignore' file contained a 'gnuastro-*' line. At the
    time, it was primarily added for tarballs (with a format of
    'gnuastro-X.XX.tar.lz'. However, it would mistakely result in ignoring any
    change made in the 'gnuastro-internal' directory!
    
    With this commit, that line has been modified to contain the '.tar'
    component to avoid forgetting to commit new files added in the
    'lib/gnuastro-internal' directory.
    
    This problem was found while working on the branch with overflow checks
    (with Siyang He), and also while working on the error branch with Labeeb
    Asari and Fathma Mehnoor. In all these cases, we needed to add new files in
    the 'lib/gnuastro-internal/' directory that were not being shown with 'git
    status' (and could possibly be forgotten to commit)!
---
 .gitignore | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 2f913549..1c3c8a3f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -103,7 +103,6 @@ install-sh
 aclocal.m4
 confdefs.h
 conftest.c
-gnuastro-*
 .bootstrap*
 Makefile.in
 astconvertt
@@ -129,6 +128,7 @@ tests/simpleio
 astsubtractsky
 autom4te.cache
 lib/gnuastro.pc
+gnuastro-*.tar*
 doc/gnuastro.cps
 doc/gnuastro.vrs
 tests/versioncxx



reply via email to

[Prev in Thread] Current Thread [Next in Thread]