Author Topic: Git history diff hang  (Read 2441 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Git history diff hang
« on: October 11, 2018, 12:06:19 AM »
Slick reliably hangs when I attempt git history diff.
According to procmon, VS runs the following commands.
The Slick UI is unresponsive, Windows shows it disabled.
I have to use taskman to kill it.

I've uploaded a minidump to support.

I have run historydiff on a couple of different files and that works.
V22 slick edit works fine on this same file.


"C:\Program Files\Git\cmd\git.exe" rev-parse --show-toplevel c:\src\myrepo\more\paths\util
"C:\Program Files\Git\cmd\git.exe" --no-pager log   --max-count=1 "--pretty=format:%H%%x00%ct%x00"
"C:\Program Files\Git\cmd\git.exe" --no-pager log --date=iso --date-order --name-only --follow  "--pretty=format:%H%x00%P%x00%ct%x00%ae%x00%an%x00%s%x00%n%B%x00" myCode.java

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2896
  • Hero Points: 153
Re: Git history diff hang
« Reply #1 on: October 11, 2018, 08:27:52 PM »
Is the editor hung waiting on git?

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: Git history diff hang
« Reply #2 on: October 11, 2018, 11:13:09 PM »
Yeah, seems to be.

I see.... git is printing 75,000 bytes worth of error messages.

Slickedit is only reading stdout from git, and not stderr -- so get is getting stuck once the stderr buffer is full.

Git is complaining about some paths being too long.