Page MenuHomePhabricator

Pruning commits from repository
Closed, DuplicatePublic

Description

Is there a way to prune stale commits from a repository? Does this happen automatically?

The particular use case here is that I was (mistakenly) tracking all branches of a repository instead of just the master branch. As such, a diff was linked to a commit on commit on a non-master branch. After noticing this I change the repository to track only the master branch. The diff, however, still references the old commit.

Event Timeline

joshuaspence assigned this task to epriestley.
joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: Repositories.
joshuaspence added a subscriber: joshuaspence.