Skip to content

pi update behavior #2548

@TravisTheTechie

Description

@TravisTheTechie

What happened?

So pi update just does a normal repo fetch. Which is fine, but has a lot of noise and unneeded refs. I haven't looked into how it actually works in pi, but something like git fetch origin $(git branch --show-current) --no-tags would work great.

Steps to reproduce

Have a plug repo with updates. Run pi update, look at output.

[deleted] 
[new branch]
hash...hash force update
[new tag]

Entries all in the list.

Expected behavior

Should just update the branch you're on. You don't care about the other branches for most use cases. And if you do, you can manually change it.

Version

0.61.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginprogressIssue is being worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions