GNOME Bugzilla – Bug 611693
Doesn't like submodules
Last modified: 2010-06-05 14:15:53 UTC
When the GStreamer common submodule has been updated, "git-bz attach" (probably other commands, too, I didn't try) fails to run and errors out with: "Cannot add bug reference to commit message(s); You must commit (or stash) all changes first" Of course, there is nothing to commit or stash. A workaround is to go into the submodule and checkout the expected version, so that git diff doesn't complain anymore. I suppose the fix is to pass --ignore-submodules in the right places?
The following fix has been pushed: 2ad51d7 Pass --ignore-submodules when checking uncommitted changes
Created attachment 162806 [details] [review] Pass --ignore-submodules when checking uncommitted changes When we check for uncommitted changes prior to adding URLs to to commit messages we should ignore submodules, since they don't affect the rebase xprocess we use to add URLs. Reported by Benjamin Otte