Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file.

- Description: Berkeley Humanoid

### Fixed

- cache: Only call git checkout when it is not head of the working copy

## [1.13.0] - 2024-10-30

### Added
Expand Down
2 changes: 1 addition & 1 deletion robot_descriptions/_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def clone_to_directory(
progress=progress_bar.update,
)

if commit is not None:
if commit is not None and commit != clone.head.object.hexsha:
try:
clone.git.checkout(commit)
except GitCommandError:
Expand Down