Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • G gitlab-ce
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • gitlab-ce
  • Repository

Switch branch/tag
  • gitlab-ce
  • app
  • graphql
  • resolvers
  • last_commit_resolver.rb
Find file BlameHistoryPermalink
  • Stan Hu's avatar
    Fix directory and last commit not loading for special filenames · b529ee53
    Stan Hu authored Jun 18, 2020
    Filenames that contained special pathspec characters (see
    https://css-tricks.com/git-pathspecs-and-how-to-use-them) would not
    return a valid last commit or properly load in the repository
    browser. For example, `:wq` would cause the GraphQL endpoint to return a
    null `lastCommit`, and a file `:wq/test.txt` would not show the commit
    information in the repository browser.
    
    This requires https://gitlab.com/gitlab-org/gitaly/-/merge_requests/2303
    to work.
    b529ee53

Replace last_commit_resolver.rb

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7