Skip to content
Snippets Groups Projects

fix grack accessing files beginning with .git

Merged gitlab-qa-bot requested to merge github/fork/jojosch/fix-grack-gitignore into master

Created by: jojosch

when accessing a file called .git[something] in the file browser (in the root folder or any other folder), grack is invoked.

with this fix grack is only invoked, if the http-git url http://mydomain.tld/[NAMESPACE]/[REPO].git is cloned.

Accessing http://mydomain.tld/[NAMESPACE]/[REPO]/tree/master/.gitignore or http://mydomain.tld/[NAMESPACE]/[REPO]/tree/master/subfolder/subfolder/.gitkeep or http://mydomain.tld/[NAMESPACE]/[REPO]/tree/master/subfolder/.gitrules is now possible and does not invoke grack anymore.

solves part of #2449 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Created by: SaitoWu

    Thank you. :thumbsup:

    By Administrator on 2013-01-01T06:51:43 (imported from GitLab project)

    By Administrator on 2013-01-01T06:51:43 (imported from GitLab)

Please register or sign in to reply
Loading