Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit11f0634

Browse files
alexqfredricksonByron
authored andcommitted
Added usage example to Repo __init__.py call for Windows users
1 parentdff4bdd commit11f0634

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎git/repo/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def __init__(self, path=None, odbt=GitCmdObjectDB, search_parent_directories=Fal
9797
repo = Repo("/Users/mtrier/Development/git-python.git")
9898
repo = Repo("~/Development/git-python.git")
9999
repo = Repo("$REPOSITORIES/Development/git-python.git")
100+
repo = Repo("C:\\Users\\mtrier\\Development\\git-python\\.git")
100101
101102
- In *Cygwin*, path may be a `'cygdrive/...'` prefixed path.
102103
- If it evaluates to false, :envvar:`GIT_DIR` is used, and if this also evals to false,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp