Skip to content

Log hashes of local branches when deleting them#5441

Open
stefanhaller wants to merge 3 commits intomasterfrom
log-hash-when-deleting-branches
Open

Log hashes of local branches when deleting them#5441
stefanhaller wants to merge 3 commits intomasterfrom
log-hash-when-deleting-branches

Conversation

@stefanhaller
Copy link
Copy Markdown
Collaborator

This makes it easier to recover them if they were deleted accidentally.

We only do this for local branches for now, we don't bother for remote branches; it would be trickier there, because the branch on the server might not actually point to the same hash as our local remote tracking branch does.

Fixes #2468.

This was forgotten in #4850.
This makes it easier to recover them if they were deleted accidentally.

We only do this for local branches for now, we don't bother for remote branches;
it would be trickier there, because the branch on the server might not actually
point to the same hash as our local remote tracking branch does.
@codacy-production
Copy link
Copy Markdown

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 050bffa1 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (050bffa) Report Missing Report Missing Report Missing
Head commit (8ccdfb8) 61070 53502 87.61%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#5441) 20 20 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Command history lacks detail when deleting a branch

1 participant