1
1
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-27 09:01:51 +01:00
gitea/modules/git/gitcmd
Md Ferdous Alam 429ba9c010
Use case-insensitive matching for Git error "Not a valid object name" (#36728)
Fixes #36727

Git is lowercasing the `fatal: Not a valid object name` error message
to follow its CodingGuidelines. This change makes the string matching
case-insensitive so it works with both the current and future Git
versions.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-02-24 12:25:34 +08:00
..
command_test.go Use case-insensitive matching for Git error "Not a valid object name" (#36728) 2026-02-24 12:25:34 +08:00
command.go Refactor highlight and diff (#36599) 2026-02-13 00:15:46 +00:00
context.go Use merge tree to detect conflicts when possible (#36400) 2026-01-27 11:57:20 -08:00
env.go Move git command to git/gitcmd (#35483) 2025-09-15 23:33:12 -07:00
error.go Use case-insensitive matching for Git error "Not a valid object name" (#36728) 2026-02-24 12:25:34 +08:00
pipe.go Fine tune diff highlighting (#36592) 2026-02-12 07:01:36 +00:00