git-cvsimport and i18n.commitencoding

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

git-cvsimport and i18n.commitencoding

From: Prenom Nom <hidden>
Date: 2016-06-15 22:46:09

Hi,
i'd like to import a project from CVS. The cvs commits are done using 
Cp1252 encoding charset. The thing is i cannot change the .git/config 
file since the repo is created by git-cvsimport. So how can i use the 
good charset ?

Re: git-cvsimport and i18n.commitencoding

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:46:09

Hi,

On Thu, 12 Feb 2009, Prenom Nom wrote:
The thing is i cannot change the .git/config file since the repo is 
created by git-cvsimport.
Indeed.  A dirty little trick would be to edit $(git 
--exec-path)git-cvsimport and put in your desired changes.

A less ugly solution would be to patch git-cvsimport.perl to add an option 
--into-existing-repository that does not complain when the Git repository 
is already initialized, unless the 'origin' branch exists, too.

Hth,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help