gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: svn commit: r1728404 - /gump/live/python/gump/core/update/
Date Thu, 04 Feb 2016 11:37:25 GMT
2016-02-04 5:48 GMT+03:00  <>:
> Author: billbarker
> Date: Thu Feb  4 02:48:13 2016
> New Revision: 1728404
> URL:
> Log:
> If somehow the local copy doesn't match we don't care
> Modified:
>     gump/live/python/gump/core/update/
> Modified: gump/live/python/gump/core/update/
> URL:
> ==============================================================================
> --- gump/live/python/gump/core/update/ (original)
> +++ gump/live/python/gump/core/update/ Thu Feb  4 02:48:13 2016
> @@ -66,6 +66,7 @@ class GitUpdater(ScmUpdater):
>          cmd = Cmd('git', 'update_' + module.getName(),
>                    module.getSourceControlStagingDirectory())
>          cmd.addParameter('pull')
> +        cmd.addParameter('--commit')
>          maybe_make_quiet(module, cmd)
>          cmd.addParameter(module.getScm().getRootUrl())
>          cmd.addParameter(module.getScm().getBranch())

Is Git able to commit if there is no log message provided?

My guess is that it will prepare a message (git fmt-merge-msg) and
launch an editor.
It may be able to detect that it was launched non-interactively (not
sure until we try), but there exists "--no-edit" flag to suppress the

I wonder why there were local changes to NOTICE.txt file in
commons-lang. There should not have been any.
Command Line

git pull --quiet master


error: Your local changes to the following files would be overwritten by merge:
Please, commit your changes or stash them before you can merge.

Personally, I use a script with the following commands to perform a
clean pull from upstream (regardless of current state of my working
copy and the branch I am working on)

git reset --hard
git clean -f -d
git checkout trunk
git pull --rebase

The first two commands
- revert changes in files tracked by git and
- remove untracked files and directories.

There also exists --ff-only flag to git pull, but I never tried it.

Blindly committing with --commit seems wrong unless there is actually
a need to keep local changes. Gump may end with building a different
source tree than contained in the original git repository.

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message