Skip to content

Git stashes in colocated jj/git repo #6394

Answered by arxanas
PaulMorris asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think we expect jj to have any impact on Git stashes.

  • Normally, Git stashes are referenced by refs/stash (docs), and therefore shouldn't be eligible for garbage collection in any event (regardless of the two-week limit).
  • IIUC jj's impact on Git GC is primarily to add references (to items visible in the operation log), rather than remove references.

If you want to run a test GC, you could run git gc --prune=now or jj util gc --expire=now.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@martinvonz
Comment options

@PaulMorris
Comment options

Answer selected by martinvonz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants