Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: git/git
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: scpmw/git
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 1 file changed
  • 1 contributor

Commits on May 20, 2013

  1. Redesigned "git rebase -ip" to allow reordering

    So far --preserve-merges would reset the HEAD to a (possibly rewritten)
    parent of the rebased commit where possible, thus it was impossible to
    sneak in extra commits at an earlier point in the history.
    
    The most important change we make here is that we *always* cherry-pick
    on top of the current HEAD, and introduce a new "branch" directive with
    which we can manually request re-setting the HEAD to something else.
    
    Merges then work by:
    1. Finding the closest rebased or not-rewritten commit corresponding to
       each parent (by traversing history back otherwise)
    2. Identify the one that corresponds to our HEAD (by traversing the
       rewritten history forwards).
    
    Where step 2 can not come up with a suitable candidate, we pick parent 1
    arbitrarily. Merges then work by essentially doing "git cherry-pick -m"
    for the HEAD parent we identified previously.
    
    Note that this ignores any rewrite changes coming in from the non-HEAD
    branches for now. This could be extended by trying to apply diffs - but
    that could make the whole process a good deal more messy, as we would now
    have multiple merges going on per rebase step.
    scpmw committed May 20, 2013
    Configuration menu
    Copy the full SHA
    fa11202 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2013

  1. Properly verify SHA for branch command

    Quite a significant bug, as this means that rewritten original commits
    weren't recognized properly. Thanks to John Morris for spotting this.
    scpmw committed Aug 2, 2013
    Configuration menu
    Copy the full SHA
    33c707d View commit details
    Browse the repository at this point in the history
  2. Removed spurious debug log

    scpmw committed Aug 2, 2013
    Configuration menu
    Copy the full SHA
    e7eed54 View commit details
    Browse the repository at this point in the history
Loading