FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.44k stars 638 forks source link

Hide remote only branches #1294

Open Hirse opened 4 years ago

Hirse commented 4 years ago

To help with performance on very large repositories, would it be possible to hide branches that are remote-only, non-default branches?

Example: Local (userA):

Remote:

By default, show in ungit for userA (with explanation):

This filtering could be set by configuration or ideally turned on automatically when the number of branches gets too high.

martinmcclure commented 4 years ago

See also the related 1334

kazi-kavish commented 2 years ago

I am looking for a way to run: git log <commit-sha> --graph where the SHA will be picked up from a URL query-param. A skim through source-code suggests that a minor change in git-promis.js in the definition of git.log should do it.

As far as I can see, this is not possible by writing a plugin.

My use-case is to be able to view the repo state at the moment a specified commit was made - no commits later than it should appear on the graph.

Am I on the right track?

Thanks.