Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3787
Closed
Open
Issue created Aug 26, 2021 by Igor Kudrin@igor.kudrinContributor

Allow expanding or collapsing of arbitrary branches

Inspecting a repository with complex history might be challenging. There are some tools, like the "Compressed Graph" mode, and filtering visible branches, but they affect the whole displayed log. It would be handy if there was a method to collapse or expand only a small portion of the graph.

I propose to add commands in the context menu so that a user can select which nodes they want to collapse or expand. If a node is collapsed, its parents are not shown up to the next merge, fork, or labeled commit, similarly to a compressed graph. If a node is forced to the expanded state, its parents should be shown even if the whole graph is compressed.

Collapsing a branch

1CmdCollapse

2Collapsed

Expanding nodes in the compressed graph

3CmdExpand

4Expanded

Edited Aug 27, 2021 by Igor Kudrin
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking