diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-11-15 22:12:05 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-11-15 22:12:05 +0100 |
commit | ceee7d7e0d98db12067744ac3cd0ab3a49602457 (patch) | |
tree | 61325f8bcb9b5849413abcdb8adba4c9cb410a44 /lib/git/refs.py | |
parent | 624556eae1c292a1dc283d9dca1557e28abe8ee3 (diff) | |
download | gitpython-ceee7d7e0d98db12067744ac3cd0ab3a49602457.tar.gz |
Added partial implementation of update, but realized that using refs in general may be contradicting if a tag is given there, as well as a commit sha of the submodule. Hence it should really be only a branch
Diffstat (limited to 'lib/git/refs.py')
-rw-r--r-- | lib/git/refs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/git/refs.py b/lib/git/refs.py index af7284ff..3dc73d03 100644 --- a/lib/git/refs.py +++ b/lib/git/refs.py @@ -489,6 +489,8 @@ class SymbolicReference(object): @classmethod def from_path(cls, repo, path): """ + :param path: full .git-directory-relative path name to the Reference to instantiate + :note: use to_full_path() if you only have a partial path of a known Reference Type :return: Instance of type Reference, Head, or Tag depending on the given path""" |