Gitea no longer works on git 1.7.2 #3782

Closed
opened 2025-11-02 05:25:06 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @zeripath on GitHub (Aug 14, 2019).

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

Description

There are multiple problems whereby options have been added to git commands which are unavailable in early git versions.

  • git remote remove. This is not available in git < 1.8.0 - rm is an alias for it.
  • git config --local. This is not available in git < 1.8.0 - config is an appropriate alias.
  • git commit-tree -m. This is not available in git < 1.8.0 - the message can simply be passed in as a stdin.
  • git check-attr --cached. This is not available in git < 1.8.0. It will use the cached version in any case in 1.7 and this option is not used.
  • git fetch and git pull do not behave the same way in git < 2.0.0 to the way expected in merge.go.
Originally created by @zeripath on GitHub (Aug 14, 2019). - Gitea version (or commit ref): master - Git version: 1.7.2 - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - [x] Not relevant - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description There are multiple problems whereby options have been added to git commands which are unavailable in early git versions. * `git remote remove`. This is not available in git < 1.8.0 - `rm` is an alias for it. * `git config --local`. This is not available in git < 1.8.0 - `config` is an appropriate alias. * `git commit-tree -m`. This is not available in git < 1.8.0 - the message can simply be passed in as a stdin. * `git check-attr --cached`. This is not available in git < 1.8.0. It will use the cached version in any case in 1.7 and this option is not used. * `git fetch` and `git pull` do not behave the same way in git < 2.0.0 to the way expected in merge.go.
GiteaMirror added the type/bug label 2025-11-02 05:25:06 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3782