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 382
    • Issues 382
    • 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
  • #1814
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

Squash rebase fills message too much

By fresv... on June 15, 2013 21:40 (imported from Google Code)


What steps will reproduce the problem?

  1. Open the dialog for rebase.
  2. Pick every second commit and squash every second commit.
  3. Do the rebase.

What is the expected output? What do you see instead?
The log messages are merges for the commits that are squashed and the log message editor opens. The problem is that if there is only one non-squash commit in between the squashed commits, the log message will not be cleaned. In the example above, the proposed message will just increase instead of holding the last two messages only.
The attached image has a green box around the expected log message. The red ellipses shows that too many log messages are merged.

What version of TortoiseGit and msysgit are you using? On
what operating system?
TortoiseGit 1.8.3.0 (x64)
git version 1.8.1.msysgit.1
Windows 7 x64

Please provide any additional information below.
I have attached a patch that solves this problem, but I'm not sure if it introduce some other problem instead.


RebaseLogMsg.png

Clean-up-squashed-log-message.patch

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking