[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add .gitignore file
From: |
felix . winkelmann |
Subject: |
Re: [PATCH] Add .gitignore file |
Date: |
Thu, 27 Apr 2023 12:44:58 +0200 |
> Here's a patch that adds a .gitignore file at the root of the
> chicken-core repo, so that `git status` doesn't show generated files
> that are not supposed to be committed to the repo.
>
> It doesn't seem possible to ignore *.import.scm wholesale since a few of
> those files are committed:
>
> $ git ls-files | grep -F .import.scm
> chicken.base.import.scm
> chicken.condition.import.scm
> chicken.csi.import.scm
> chicken.foreign.import.scm
> chicken.syntax.import.scm
> chicken.time.import.scm
>
> Likewise, *.c cannot be ignored wholesale since some hand-written C
> source files are present in the same directory as the C files output by csc.
Thanks, Lassi!
Here is a signed-off version. I first considered this straightforward,
but after some discussion on IRC it seems that this may change the
workflow in subtle or unexpected ways, so I leave this open for the
moment.
felix
0001-Add-.gitignore-file.patch
Description: Text document