Skip to content

Merge #142 with master #216

@ingydotnet

Description

@ingydotnet

Issue #142 basically does a merge commit on pull and master does a rebase. We
are going to make it so that pull has 3 strategies:

  • --merge
  • --rebase
  • --reclone

and the user will need to specify one of these when they do a pull. If they
don't then they will get an informative message thelling them to do so. The
choice can be persisted in one of 2 ways:

  • .git/config

    [subrepo]
      strategy = merge
    
  • subrepodir/.gitrepo

    method = merge

When --update is used on pull, then the strategy will go into the .gitrepo
file.

Issue 142 actually has a lot of other things so we are going to merge this on
another branch and leave the issue/142 branch asis. Work will be done on branch
`issue/216'.

Things to think about:

  • Make sure all tests are incorporated and passing
  • Try to use original commits from 142 as possible
  • A push should always error out if not currently pulled
  • Make sure docs are all accurate
    • New options (--edit, etc) need to get into docs
  • Add a --dryrun option for push

Release will (probably) be version 0.4.0.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions