gitui icon indicating copy to clipboard operation
gitui copied to clipboard

Add branch names to rev log

Open RexTremendae opened this issue 4 years ago • 4 comments

Feature suggestion: add local branch names to the revlog. Personally I miss this feature a lot, I use it daily on the command line when working in a team that consists of more people than me :D feature_branchnames

RexTremendae avatar May 16 '21 16:05 RexTremendae

~~dup of #81, right?~~

Totally missed that this is a PR and took it as an issue.

@RexTremendae interesting approach, but I think this needs to be tackled in #81. your implementation only bothers with annotating branches that accidentally share a commit with the Current head and its ancestors.

extrawurst avatar May 16 '21 16:05 extrawurst

@extrawurst I'm not sure what you mean by "accidently share a commit". This PR annotates the commits that are heads of local branches as far as I understand the Rust API. Compare the result with git log --graph --oneline on the command line.

RexTremendae avatar May 16 '21 16:05 RexTremendae

@extrawurst I'm not sure what you mean by "accidently share a commit". This PR annotates the commits that are heads of local branches as far as I understand the Rust API. Compare the result with git log --graph --oneline on the command line.

without #81 you will only annotate the commits that are accidentally also on the current branch, since the revlog currently only shows commits on the current branch. therefore I cannot merge this :(

extrawurst avatar May 16 '21 20:05 extrawurst

marking as draft for now

extrawurst avatar May 21 '21 21:05 extrawurst