mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Updated comment
This commit is contained in:
parent
1b66ffc3ac
commit
c25c8d55e8
1 changed files with 2 additions and 1 deletions
|
@ -1867,7 +1867,8 @@ class Pygit2(GitProvider):
|
|||
# cachedir).
|
||||
head_ref = local_head.target
|
||||
# If head_ref is not a string, it will point to a
|
||||
# pygit2.id object and we are in detached HEAD mode.
|
||||
# pygit2.id object (oid is deprecated and removed) and
|
||||
# we are in detached HEAD mode.
|
||||
# Therefore, there is no need to add a local reference. If
|
||||
# head_ref == local_ref, then the local reference for HEAD
|
||||
# in refs/heads/ already exists and again, no need to add.
|
||||
|
|
Loading…
Add table
Reference in a new issue