summaryrefslogtreecommitdiff
path: root/lib/git/refs.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/refs.py')
-rw-r--r--lib/git/refs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/git/refs.py b/lib/git/refs.py
index a83628ce..c8857e97 100644
--- a/lib/git/refs.py
+++ b/lib/git/refs.py
@@ -322,7 +322,8 @@ class HEAD(SymbolicReference):
paths=None, **kwargs):
"""
Reset our HEAD to the given commit optionally synchronizing
- the index and working tree.
+ the index and working tree. The reference we refer to will be set to
+ commit as well.
``commit``
Commit object, Reference Object or string identifying a revision we