Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G git-backup
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Jérome Perrin
  • git-backup
  • Repository
  • git-backup
  • git-backup.go
Find file BlameHistoryPermalink
  • Alain Takoudjou's avatar
    pull: do not fail if folder ends with .git and is not a git repository · da754af2
    Alain Takoudjou authored Jun 29, 2020 and Kirill Smelkov's avatar Kirill Smelkov committed Jul 02, 2020
    If there is a folder in git repositories which ends with .git and which
    is not a git repository, git-backup will fail because it will try to use
    it as a git repository.
    
    This patch just checks if it's really a git repo before continue inside.
    
    [kirr: Reworked the patch a bit]
    /reviewed-on: kirr/git-backup!8
    da754af2
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7