Skip to content

fix(git): handle worktrees while retrieving the path of repository - #1054

Merged
orhun merged 1 commit into
mainfrom
fix/repository_worktree_handling
Feb 21, 2025
Merged

fix(git): handle worktrees while retrieving the path of repository#1054
orhun merged 1 commit into
mainfrom
fix/repository_worktree_handling

Conversation

@orhun

@orhun orhun commented Feb 21, 2025

Copy link
Copy Markdown
Owner

Description

Now we take worktrees into account while retrieving the path of the repositories.

Motivation and Context

Closes #1052

How Has This Been Tested?

Locally.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (no code change)
  • Refactor (refactoring production code)
  • Other

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have formatted the code with rustfmt.
  • I checked the lints with clippy.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@orhun orhun mentioned this pull request Feb 21, 2025
1 task
@codecov-commenter

codecov-commenter commented Feb 21, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 41.85%. Comparing base (372af4b) to head (ea6f995).
⚠️ Report is 200 commits behind head on main.

Files with missing lines Patch % Lines
git-cliff-core/src/repo.rs 0.00% 6 Missing ⚠️
git-cliff/src/lib.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1054      +/-   ##
==========================================
- Coverage   41.94%   41.85%   -0.09%     
==========================================
  Files          21       21              
  Lines        1786     1790       +4     
==========================================
  Hits          749      749              
- Misses       1037     1041       +4     
Flag Coverage Δ
unit-tests 41.85% <0.00%> (-0.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linked worktrees do not show changes

2 participants