Re: [PATCH] git svn: add an option to recode pathnames
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- Jul 30, 2010, 07:59 UTC
- Message-ID
- <20100730075921.GA9596@dcvr.yhbt.net>
- In-Reply-To
- <4C523935.5070504@gmail.com>
Robert Pollak <robert.pollak@gmail.com> wrote:
Show 15 quoted lines
> Introduce a new option 'svn.pathnameencoding' that instructs git svn to > recode pathnames to a given encoding. It can be used by windows users > and by those who work in non-utf8 locales to avoid corrupted file names > with non-ascii characters. > > Signed-off-by: Dmitry Statyvka <dstatyvka@tmsoft-ltd.kiev.ua> > [robert.pollak@gmail.com: renamed the option and added manpage documentation] > Signed-off-by: Robert Pollak <robert.pollak@gmail.com> > --- > > Hello Eric, > > since the patch is useful to me, I have made the requested option name > change and added some manpage documentation. Please consider applying the > patch or give me additional feedback.
Thanks Robert!
It looks alright to me and I've acked and pushed it out to git://git.bogomips.org/git-svn (crediting Dmitry as the author)
If it's not too much trouble, having a test case to ensure it stays working with future changes would be nice.
> This is the first patch I submit on this list, so I hope it's ok.
For addendum changes, the standard we seem to have adopted is first initials above the Signed-off/Acked-by lines:
>From 3713e2226bcda64513efd537f370ce4d7f767a1e Mon Sep 17 00:00:00 2001
From: Dmitry Statyvka <dstatyvka@tmsoft-ltd.kiev.ua> Date: Fri, 30 Jul 2010 04:30:13 +0200 Subject: [PATCH] git svn: add an option to recode pathnames
Introduce a new option 'svn.pathnameencoding' that instructs git svn to recode pathnames to a given encoding. It can be used by windows users and by those who work in non-utf8 locales to avoid corrupted file names with non-ascii characters.
[rp: renamed the option and added manpage documentation]
Signed-off-by: Dmitry Statyvka <dstatyvka@tmsoft-ltd.kiev.ua> Signed-off-by: Robert Pollak <robert.pollak@gmail.com> Acked-by: Eric Wong <normalperson@yhbt.net> --- <snip>
-- Eric Wong