|
Re: Doesn't refresh history after deleting local branch [message #1860918 is a reply to message #1860867] |
Fri, 08 September 2023 14:15  |
Eclipse User |
|
|
|
The history view did refresh: the deleted branch alt-hist-01 is no longer shown. If the current selection in Eclipse refers to a commit, the history view tries to keep this currently selected commit. Commit aea5160 was selected when the branch was deleted, and thus it is still included in the history, even though it's no longer reachable through HEAD or any existing branch.
When then one of the other branches is selected, the selection changes to commit 652766a, and thus aea5160 is no longer a starting point for getting the history, and since aea5160 is not reachable from HEAD (which is at test-01) or from any other branch, it disappears.
It may look like a small UI bug, but actually it's quite convenient: if the branch was deleted by mistake, it can simply be re-created in the history view. Otherwise the user would have to hunt for the commit in the reflog, and re-create the branch there.
|
|
|
Powered by
FUDForum. Page generated in 0.03820 seconds