From ceee7d7e0d98db12067744ac3cd0ab3a49602457 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 15 Nov 2010 22:12:05 +0100 Subject: 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 --- lib/git/refs.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/git/refs.py') 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""" -- cgit v1.2.1