git-update does not work from time to time if the subprojects are checked out
I did git checkout -b some-dev-brach
and worked on it.
Then I checked out the 1.17.90 and ran the ./git-update
git checkout 1.17.90
./git-update
Everything went fine.
Then I checkout the master, the ./git-update fail:
$ git checkout master
$ ./git-update --status
gst-build - On branch master - clean
orc - HEAD detached at 0.4.29 - clean
gstreamer - HEAD detached at 1.17.90 - clean
gst-plugins-base - HEAD detached at 1.17.90 - clean
gl-headers - On branch master - clean
gst-plugins-good - HEAD detached at 1.17.90 - clean
libnice - On branch master - clean
gst-plugins-bad - HEAD detached at 1.17.90 - clean
avtp - HEAD detached at 9482c11 - clean
dssim - On branch dssim1-c - clean
libmicrodns - HEAD detached at 0.1.2 - clean
openh264 - HEAD detached at v2.1.1 - clean
gst-plugins-ugly - HEAD detached at 1.17.90 - clean
gst-libav - HEAD detached at 1.17.90 - clean
gst-rtsp-server - HEAD detached at 1.17.90 - clean
gst-devtools - HEAD detached at 1.17.90 - clean
gst-integration-testsuites - HEAD detached at 1.17.90 - clean
pygobject - On branch master - clean
pycairo - On branch master - clean
gst-python - HEAD detached at 1.17.90 - clean
gst-examples - HEAD detached at 1.17.90 - clean
$ ./git-update
Updating branch refs/heads/master in gst-build
=====================================
fatal: It seems that there is already a rebase-apply directory, and
I wonder if you are in the middle of another rebase. If that is the
case, please try
git rebase (--continue | --abort | --skip)
If that is not the case, please
rm -fr ".git/rebase-apply"
and run me again. I am stopping in case you still have something
valuable there.
Entering a shell in . to fix that just `exit 0` once done, or `exit 255` to skip update for that repository
=====================================
But There is nothing at rebase state. If I use rm -fr ".git/rebase-apply"
. then the git-update can work. But it somehow still point to 1.17.90 instead of master?