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: gitpython-developers/GitPython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: guyzmo/GitPython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jun 11, 2016

  1. Adding support for git remote set-url/get-url API to Remote

    Both commands enable handling of a little known feature
    of git, which is to support multiple URL for one remote.
    You can add multiple url using the `set_url` subcommand of
    `git remote`. As listing them is also handy, there's a
    nice method to do it, using `get_url`.
    
    * adding set_url method that maps to the git remote set-url command¶
     * can be used to set an URL, or replace an URL with optional positional arg¶
     * can be used to add, delete URL with kwargs (matching set-url options)¶
    * adding add_url, delete_url methods that wraps around set_url for conveniency¶
    * adding urls property that yields an iterator over the setup urls for a remote¶
    * adding a test suite that checks all use case scenarii of this added API.¶
    
    Signed-off-by: Guyzmo <guyzmo+github@m0g.net>
    guyzmo committed Jun 11, 2016
    Configuration menu
    Copy the full SHA
    6b1dd8b View commit details
    Browse the repository at this point in the history
  2. Switching the urls property to use git remote show instead of `gi…

    …t remote get-url`
    
    `get-url` is a new API that is not widely available yet (introduced in git 2.7.0), and
    provokes failure on travis.
    
    Signed-off-by: Guyzmo <guyzmo+github@m0g.net>
    guyzmo committed Jun 11, 2016
    Configuration menu
    Copy the full SHA
    04873ab View commit details
    Browse the repository at this point in the history
Loading