Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pull with --rebase in Pkg.update() #10529

Merged
merged 1 commit into from
Mar 17, 2015

Conversation

tkelman
Copy link
Contributor

@tkelman tkelman commented Mar 16, 2015

See https://groups.google.com/d/msg/julia-dev/vrVSPbHRdIM/uEIBysnh2G4J for motivation

Merge commits are messy and confusing, they accumulate in your local METADATA if you do Pkg.tag then Pkg.update a bunch of times before publishing and finally merging your new commits into the official repo. There's already a todo here about merge conflicts, I don't think preferring rebase over merge makes the situation any worse.

edit: looks like --rebase, but not -r, is supported by our minimum required version of git: http:https://git-scm.com/docs/git-pull/1.7.3

@tkelman tkelman added the domain:packages Package management and loading label Mar 16, 2015
@tkelman tkelman changed the title pull with -r (rebase) in Pkg.update() pull with --rebase in Pkg.update() Mar 16, 2015
@StefanKarpinski
Copy link
Sponsor Member

Seems like a good idea. Feel free to merge it.

@ivarne
Copy link
Sponsor Member

ivarne commented Mar 16, 2015

+1

tkelman added a commit that referenced this pull request Mar 17, 2015
@tkelman tkelman merged commit b201312 into JuliaLang:master Mar 17, 2015
@tkelman tkelman deleted the tk/pkg-update-rebase branch March 17, 2015 07:32
@tkelman
Copy link
Contributor Author

tkelman commented Aug 12, 2015

Should we maybe backport this for 0.3.12? It's a one-liner and does make Metadata PR's cleaner.

tkelman added a commit that referenced this pull request Aug 16, 2015
(cherry picked from commit 7a037fe)
ref #10529
@tkelman
Copy link
Contributor Author

tkelman commented Aug 16, 2015

backported in 1b838a4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:packages Package management and loading
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants