Further Issues on Microsoft Windows #263

Open
jgm opened this Issue Jul 9, 2011 · 3 comments

Comments

Projects
None yet
2 participants
Owner

jgm commented Jul 9, 2011

What steps will reproduce the problem?
1. Install: 64-bit Microsoft Windows 7 Home Premium + SP1, git version 1.7.4.msysgit.0, GHC 7.0.3, cabal-1.10.1.0, and cabal-install version 0.10.2
2. Install: gitit-0.8.0.1
3. View: <http://localhost:5001/>
4. Click: "Edit"

What is the expected output? What do you see instead?

Expected: A place to modify the existing text on the Front Page.
Instead: "Server error: UnknownError: error parsing git log: (line 7, column 56):
unexpected end of input"

What version of the product are you using? On what operating system?

See above; 0.8.0.1 on Microsoft Windows 64-bit Home Premium

Please provide any additional information below.

ssmith@ASICORP_SSMITH ~/AppData/Roaming/GitIt/wikidata (master)
$ git log
commit face8c575ca08dd63dc0f53d8c3febea7931e5b4
Author: bss <ssmith@aspiresolns.com>
Date:   Fri Jul 8 10:25:20 2011 -0500

    Test

commit e3bfd8396bba2570591bdd093c895038ecbe95e8
Author: Gitit <>
Date:   Fri Jul 8 09:30:51 2011 -0500

    User's guide (README)

commit 60987a3c4738bce08d654986be14dc5884273783
Author: Gitit <>
Date:   Fri Jul 8 09:30:51 2011 -0500

    Default help page

commit 114e811e88a81cbfcb1e72cac11600b0c8cd2628
Author: Gitit <>
Date:   Fri Jul 8 09:30:51 2011 -0500

    Default front page

ssmith@ASICORP_SSMITH ~/AppData/Roaming/GitIt/wikidata (master)
$

(Output of git log has more than 7 lines, but no line has 56 columns.)

Google Code Info:
Issue #: 120
Author: Boyd.Ste...@gmail.com
Created On: 2011-07-08T15:44:33.000Z
Closed On: 

jgm was assigned Jul 9, 2011

Owner

jgm commented Jul 9, 2011

gitit uses
git whatchanged -z [etc]
to produce the log. The -z causes a null (0) character to be placed between entries. My guess is that it's failing to find this in the log produced on windows.

Google Code Info:
Author: fiddloso...@gmail.com
Created On: 2011-07-09T01:53:30.000Z

Compile msysgit yourself, revert the patch "Give commit message reencoding for output on MinGW a chance" (log-tree.c)
Then gitit works on Windows.

With msysgit 1.8.3, gitit works on Windows now!!! 👍 (I mean basic usage).
It is because such patch "Give commit message reencoding for output on MinGW a chance" (log-tree.c) has been dropped!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment