Skip to content

Commit 739fa14

Browse files
committed
Fixed remaining tests - lets hope that everything is indeed working correctly - as imports changed, every line of code needs to be run to assure all names can be resolved
1 parent dec4663 commit 739fa14

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

objects/submodule/root.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ def update(self, previous_commit=None, recursive=True, force_remove=False, init=
4848
4949
:param previous_commit: If set to a commit'ish, the commit we should use
5050
as the previous commit the HEAD pointed to before it was set to the commit it points to now.
51-
If None, it defaults to ORIG_HEAD otherwise, or the parent of the current
52-
commit if it is not given
51+
If None, it defaults to HEAD@{1} otherwise
5352
:param recursive: if True, the children of submodules will be updated as well
5453
using the same technique
5554
:param force_remove: If submodules have been deleted, they will be forcibly removed.

refs/head.py

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
from git.config import SectionConstraint
66

7+
from git.util import join_path
8+
79
from git.exc import GitCommandError
810

911
__all__ = ["HEAD", "Head"]

refs/reference.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from symbolic import SymbolicReference
22
import os
3+
from git.objects import Object
34
from git.util import (
45
LazyMixin,
56
Iterable,

refs/remote.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from head import Head
22
from git.util import join_path
3+
from gitdb.util import join
34

45
import os
56

0 commit comments

Comments
 (0)