FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GitPython mangles my .gitconfig · Issue #285 · gitpython-developers/GitPython · GitHub

Repository navigation

GitPython mangles my .gitconfig #285

Closed

Description

I have a couple of aliases in my .gitconfig (which I am slightly embarrassed to share, since they are horrible). When running the GitPython tests, these get mangled from

[alias]
    rbi = "!g() { git rebase -i origin/${1:-master} ; } ; g"
    expush = "!f() { git branch -f tmp ; { git rbi $1 && git push ; } ; git reset --hard tmp ; git rebase origin/${1:-master}; } ; f"

into

[alias]
    rbi = !g() { git rebase -i origin/${1:-master}  expush = "!f() { git branch -f tmp ; { git rbi $1 && git push ; } ; git reset --hard tmp ; git rebase origin/${1:-master}; } ; f

Activity

  1. moben commented on Apr 21, 2015

    ContributorAuthor

    forgot to mention:
    cPython version: 2.7.9
    GitPython version: current master 5fe80b0

  2. added this to the v1.0.1 - Fixes milestone on Apr 21, 2015
  3. Byron commented on Apr 21, 2015

    Member

    Thank you !
    This seems critical as it implies that GitPython is rewriting your ~/.gitconfig file while the tests are running ?
    Can you confirm I understood this correctly ?

  4. moben commented on Apr 21, 2015

    ContributorAuthor

    yes, that is indeed the case. It also tries to rewrite /etc/gitconfig, as far as I can tell, but that fails of course.

  5. self-assigned this
    on Apr 22, 2015
  6. Byron commented on Apr 22, 2015

    Member

    You can watch the development stream on youtube.

  7. moben commented on Apr 22, 2015

    ContributorAuthor

    Thanks for fixing this so fast!

  8. changed the title [-]GitPython magles my .gitconfig[/-] [+]GitPython mangles my .gitconfig[/+] on Apr 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL