Skip to content

Bad diff highlight #20152

Closed
Closed
@Fogapod

Description

@Fogapod

Description

my changes:

diff --git a/core/deploy_core.sh b/core/deploy_core.sh
index ea37829..cec1cc4 100644
--- a/core/deploy_core.sh
+++ b/core/deploy_core.sh
@@ -57,7 +57,7 @@ echo "Complete. Start deploy process."
 
 PROJECT_DIR=$BASE_PATH"/$PROJECT_DIR_NAME"
 PROJECT_DEPLOY_DIR=$PROJECT_DIR"_deploy"
-FILES_FOR_DEL=("Pipfile" "Pipfile.lock" ".git" ".gitignore" ".gitmodules" "README.md" "config.sample.ini" "runserver.sh" "runserver_pipenv.sh" "supervisord.conf" "supervisord.pipenv.conf" "systemd.sample" "requirements.txt" "deploy.sh")
+FILES_FOR_DEL=(".git" ".gitignore" "README.md" "config.sample.ini" "runserver.sh" "runserver_pipenv.sh" "supervisord.conf" "supervisord.pipenv.conf" "systemd.sample" "requirements.in" "requirements.txt" "deploy.sh")
 SUPERVISORCTL_CMD='supervisorctl -c supervisord.conf '
 
 ################################# DEPLOY SCRIPT ########################################

how gitea displays this file:
image

Pipfile" "Pipfile.lock part got removed but only Pipfile" is red

Gitea Version

1.17.0+rc1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.36.1

Operating System

No response

How are you running Gitea?

Locally compiled binary

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions