We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 380aa5a commit 985878aCopy full SHA for 985878a
CHANGELOG.md
@@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file.
8
9
- Description: Berkeley Humanoid
10
11
+### Fixed
12
+
13
+- cache: Only call git checkout when it is not head of the working copy
14
15
## [1.13.0] - 2024-10-30
16
17
### Added
robot_descriptions/_cache.py
@@ -85,7 +85,7 @@ def clone_to_directory(
85
progress=progress_bar.update,
86
)
87
88
- if commit is not None:
+ if commit is not None and commit != clone.head.object.hexsha:
89
try:
90
clone.git.checkout(commit)
91
except GitCommandError:
0 commit comments