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

Commit2d47232

Browse files
committed
Try again to apply patch related to#1000
1 parent86b269e commit2d47232

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎git/repo/fun.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ def is_git_dir(d):
3535
There is the unlikely danger to throw if we see directories which just look like a worktree dir,
3636
but are none."""
3737
ifosp.isdir(d):
38-
ifosp.isdir(osp.join(d,'objects'))andosp.isdir(osp.join(d,'refs')):
38+
if (osp.isdir(osp.join(d,'objects'))oros.environ.has_key('GIT_OBJECT_DIRECTORY')) \
39+
andosp.isdir(osp.join(d,'refs')):
3940
headref=osp.join(d,'HEAD')
4041
returnosp.isfile(headref)or \
4142
(osp.islink(headref)and

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp