GFit Repository viewer reports test file as binary
Added by James Byrne over 14 years ago
I have a particular file in a git repository used by a Redmine managed project. This file cannot be browsed inside Redmine because it reports it to be a Binary object. However, when I download the file onto my desktop the file is in fact a simple ascii text file. Gnome reports it as a 'plain text file'.
I would really like to browse this file from inside Redmine but I am unsure whether this is a 'Git' problem or a 'Redmine' problem.
Can anyone tell me what might be going on?
Replies (5)
RE: GFit Repository viewer reports test file as binary
-
Added by Felix Schäfer over 14 years ago
Try to find out what git thinks the filetype is. On the other end, I think redmine only inspects file extensions, what extension does your file have?
RE: GFit Repository viewer reports test file as binary
-
Added by James Byrne over 14 years ago
I has no extention. The file name is PDHARTLS. I have similarly named files (QKARAEMS) in the same repository that Git/Redmine consider text.
RE: Git Repository viewer reports test file as binary
-
Added by James Byrne over 14 years ago
Is there a Redmine imposed limit on the size of a text file? The file I am trying to view in the repository browser is 1.1 Mb. Other than its size, it is identical in format to all the other files in the repository that I can browse without problem.
RE: GFit Repository viewer reports test file as binary
-
Added by Felix Schäfer over 14 years ago
Ah, didn't think of that… Yes, there is a limit in the size of text files redmine will show, should be the next to last option in the first Administration panel.
RE: GFit Repository viewer reports test file as binary
-
Added by James Byrne over 14 years ago
Thanks. I just found that myself and changed it from 512k to 2048k and now I can see the file in the browser.