28 Jun 2012 18:20
gclient sync needs git fetch?
James Cook <jamescook <at> chromium.org>
2012-06-28 16:20:22 GMT
2012-06-28 16:20:22 GMT
I got into a confusing state this morning where repeated gclient sync commands did not update my working copy. I was doing this:
$ git checkout master
$ gclient sync --jobs=16
$ git log -3
It would not advance master past svn revision 144718. To work around this I did the following:
$ git checkout master
$ git fetch
$ git rebase origin/master
$ gclient sync --jobs=16
The "git fetch" step didn't used to be necessary. Do I need to do this now? The documentation for NewGitWorkflow implies to me that "git fetch" is optional: http://code.google.com/p/chromium/wiki/UsingNewGit#Updating_the_code
Do the docs need to be updated?
Thanks,
James
Chromium Developers mailing list: chromium-dev <at> chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
RSS Feed