Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: amitsaha/gitbackup
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.8.0
Choose a base ref
...
head repository: amitsaha/gitbackup
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.8.1
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on May 20, 2022

  1. Fix private repo cloning (#76)

    * Always use token for cloning via HTTPS
    
    On GitLab for some reason the `repo.Private` always returns false even if the repo is actually private, which means this code is never executed and the `git` client asks for a username and password to clone. 
    
    It would make sense to use the token for cloning any type of repo, as it would prevent the need for asking these details.
    
    Tested on my local build with gitlab.com and it works as expected.
    
    * separate private repo check
    syphernl authored May 20, 2022
    Configuration menu
    Copy the full SHA
    d8c1598 View commit details
    Browse the repository at this point in the history
  2. Gitlab: Fix private repo discovery (#78)

    The `Public` attribute from go-gitlab is not configured correctly, so we simply use the `Visibility` attribute.
    amitsaha authored May 20, 2022
    Configuration menu
    Copy the full SHA
    0e36d43 View commit details
    Browse the repository at this point in the history
Loading