Hello!
I've got a small repo with some bat-scripts to help me run my home
Subversion server. I made two commits lately, and then I wanted to fix
their log messages a little bit. So, I tried interactive rebase, but
git would hang for no reason. I used to do interactive rebasing with
v1.6.5.1, so I'm not new to the concept. However, I'm fairly new to
git, so I'd like to know if this is a known issue and if there is a
workaround.
I work in cmd.exe. Only the git\cmd path is added to the %PATH%.
W:\git\SvnRepos\Root\e-mails>git --version
git version 1.7.0.2.msysgit.0
W:\git\SvnRepos\Root\e-mails>git log -3
commit 02d35fddee0ca5a8c2838c102c433bfe658822e7
Author: Alexander Iljin <
ajs...@yandex.ru>
Date: Wed Apr 21 23:26:46 2010 +0700
Hide e-mail daemon if nircmd is installed
commit 3ad84680097171ccdfe6fa8651de14f90caece29
Author: Alexander Iljin <
ajs...@yandex.ru>
Date: Wed Apr 21 23:12:23 2010 +0700
Add e-mail daemon
commit bc16f6604fd9bc91c4eba12fe52203538358b9cf
Author: Alexander Iljin <
ajs...@yandex.ru>
Date: Wed Apr 21 17:18:58 2010 +0700
Send e-mail notifications in parallel. Doesn't work.
W:\git\SvnRepos\Root\e-mails>git rebase -i bc16
I get the following file open in the $EDITOR
=====
pick 3ad8468 Add e-mail daemon
pick 02d35fd Hide e-mail daemon if nircmd is installed
# Rebase bc16f66..02d35fd onto bc16f66
#
# Commands:
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit's log message
#
# If you remove a line here THAT COMMIT WILL BE LOST.
# However, if you remove everything, the rebase will be aborted.
#
=====
I tried replacing "pick" with "r" or "e". Either way when I close the
editor (and save the changes, of course), git would hang indefinitely.
Examining the state of affairs with Process Explorer reveals that:
git.exe is started using the following command line:
"d:\Program Files\DevTools\Git\libexec\git-core\git.exe" checkout
bc16f6604fd9bc91c4eba12fe52203538358b9cf
Private Bytes: 2208K
USER Handles: 0
GDI Handles: 0
CPU consumption: 0%
Typically a console application acquires at least 1 USER Handle and 4
GDI Handles, which makes me think that git fails to start properly for
some reason. Can anyone reproduce the issue? Does interactive rebase
work for you, guys?
PS: Running checkout from cmd works fine:
W:\git\SvnRepos\Root\e-mails>git checkout
bc16f6604fd9bc91c4eba12fe52203538358b9cf
Note: moving to 'bc16f6604fd9bc91c4eba12fe52203538358b9cf' which isn't
a local branch
If you want to create a new branch from this checkout, you may do so
(now or later) by using -b with the checkout command again. Example:
git checkout -b <new_branch_name>
HEAD is now at bc16f66... Send e-mail notifications in parallel.
Doesn't work.
---=====---
Alexander
--
Subscription settings:
http://groups.google.com/group/msysgit/subscribe?hl=en