Skip to content

fix(update): implement --pull behavior before reindexing#202

Open
vincentkoc wants to merge 1 commit intotobi:mainfrom
vincentkoc:vincentkoc-code/fix-update-pull-flag
Open

fix(update): implement --pull behavior before reindexing#202
vincentkoc wants to merge 1 commit intotobi:mainfrom
vincentkoc:vincentkoc-code/fix-update-pull-flag

Conversation

@vincentkoc
Copy link
Contributor

Summary

  • wire qmd update --pull to perform git pull --ff-only per collection before indexing
  • skip pull for non-git directories or repos without an upstream tracking branch
  • keep failure behavior explicit when pull fails
  • add CLI integration coverage for update --pull

Validation

  • npx vitest run --reporter=verbose test/cli.test.ts

@vincentkoc vincentkoc marked this pull request as ready for review February 17, 2026 05:29
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.

1 participant

Comments