app.ini.sample is ignored by .gitignore #1288

Closed
opened 2025-11-02 03:55:36 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @jonasfranz on GitHub (Nov 27, 2017).

  • Gitea version (or commit ref): 4d85c1d3c8
  • Git version: not relavent
  • Operating system: not relavent
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

custom/conf/app.ini.sample is actually ignored by .gitignore but is present in the repository.

4d85c1d3c8/.gitignore (L48)

Originally created by @jonasfranz on GitHub (Nov 27, 2017). - Gitea version (or commit ref): 4d85c1d3c875609b57219ab7b74678f5876dbccb - Git version: not relavent - Operating system: not relavent - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description custom/conf/app.ini.sample is actually ignored by .gitignore but is present in the repository. https://github.com/go-gitea/gitea/blob/4d85c1d3c875609b57219ab7b74678f5876dbccb/.gitignore#L48
GiteaMirror added the reviewed/wontfix label 2025-11-02 03:55:36 -06:00
Author
Owner

@lunny commented on GitHub (Nov 28, 2017):

That's not an issue I think.

@lunny commented on GitHub (Nov 28, 2017): That's not an issue I think.
Author
Owner

@lafriks commented on GitHub (Nov 28, 2017):

Actually it might be... wouldn't changes be ignored on that file by git?

@lafriks commented on GitHub (Nov 28, 2017): Actually it might be... wouldn't changes be ignored on that file by git?
Author
Owner

@jonasfranz commented on GitHub (Nov 28, 2017):

@lafriks That happend in my case. (I don't know if it caused by my editor or git itself)

@jonasfranz commented on GitHub (Nov 28, 2017): @lafriks That happend in my case. (I don't know if it caused by my editor or git itself)
Author
Owner

@kolaente commented on GitHub (Nov 28, 2017):

@lafriks I've added a standard configuration for the issue dependencies in that file, but it apparantly still got commited (although it is ignored).... hmmmmmmmmmm....

Apparently the folder only is ignored, not the file itself. Weired though.

@kolaente commented on GitHub (Nov 28, 2017): @lafriks I've added a standard configuration for the issue dependencies in that file, but it apparantly still got commited (although it is ignored).... hmmmmmmmmmm.... Apparently the folder only is ignored, not the file itself. Weired though.
Author
Owner

@lunny commented on GitHub (Dec 5, 2017):

@kolaente even if some files were added .gitignore they also could be added to git via git add -f. And after they were added, any changes will be followed by git.

@lunny commented on GitHub (Dec 5, 2017): @kolaente even if some files were added `.gitignore` they also could be added to git via `git add -f`. And after they were added, any changes will be followed by git.
Author
Owner

@techknowlogick commented on GitHub (May 10, 2018):

As this issue is marked as WONTFIX can it be closed?

@techknowlogick commented on GitHub (May 10, 2018): As this issue is marked as `WONTFIX` can it be closed?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1288