Git support breaks on msysgit 1.7.2.3+

Using msysgit 1.7.2.3 or 1.7.3.1 on Windows, when I start the IDE, I get this error:

null java.util.NoSuchElementException      at com.intellij.util.text.StringTokenizer.nextToken(StringTokenizer.java:121)      at com.intellij.util.text.StringTokenizer.nextToken(StringTokenizer.java:134)      at git4idea.history.GitHistoryUtils.parseCommitsLoadOutput(GitHistoryUtils.java:497)      at git4idea.history.GitHistoryUtils.historyWithLinks(GitHistoryUtils.java:465)      at git4idea.history.browser.LowLevelAccessImpl.loadCommits(LowLevelAccessImpl.java:161)      at git4idea.history.browser.LowLevelAccessImpl.loadCommits(LowLevelAccessImpl.java:112)      at git4idea.history.browser.GitTreeController$CommitsLoader.loadPiece(GitTreeController.java:235)      at git4idea.history.browser.GitTreeController$CommitsLoader.loadCommitsUsingMemoryAndNativeFilters(GitTreeController.java:178)      at git4idea.history.browser.GitTreeController$CommitsLoader.access$500(GitTreeController.java:148)      at git4idea.history.browser.GitTreeController$2.run(GitTreeController.java:105)      at com.intellij.openapi.vcs.RequestsMerger$MyWorker.run(RequestsMerger.java:102)      at com.intellij.util.Alarm$Request$1.run(Alarm.java:227)      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)      at java.util.concurrent.FutureTask.run(FutureTask.java:138)      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)      at java.lang.Thread.run(Thread.java:619)



When I look at the "Version Control" console, it tries endlessly to run this command:
git log --max-count=51 --after=1285852354 --all --name-only --pretty=format:%x03%h%x00%H%x00%ct%x00%an%x00%ae%x00%cn%x00%ce%x00[%p]%x00[%d]%x00%s%n%n%b%x00 --encoding=UTF-8 -- .

Downgraded to msysgit 1.7.1 and it seems to work now

(Using phpStorm EAP PS-98.145)

Please sign in to leave a comment.