From: ксовиран <xowirun@yandex.ru>
To: "Torsten Bögershausen" <tboegi@web.de>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>,
Konstantin Khomoutov <kostix+git@007spb.ru>,
martin.langhoff@gmail.com
Subject: Re: git and cyrillic branches
Date: Fri, 26 Jul 2013 11:35:01 +0400 [thread overview]
Message-ID: <1094181374824101@web4h.yandex.ru> (raw)
In-Reply-To: <51F1D5F7.5060101@web.de>
26.07.2013, 05:50, "Torsten Bögershausen" <tboegi@web.de>:
> On 2013-07-25 14.19, иванов иван wrote:
>
>> hello! there is problem vith git and cyrillic (utf-8) names of branches. branch creates perfectly, but when i clone this remote branch to local host, there are 2 bugs:
>> 1) "git branch" doesnt show checked branch with asterisk (while on remote server it does)
>> 2) "git push" gives 2 errors: "fatal: BRANCH_NAME cannot be resolved to branch." and "fatal: The remote end hung up unexpectedly"
>> thanks.
>
> It could be helpful if you could provide more information.
> The best could be a step-by-step instruction using a some "mini repo",
> so that we we can reproduce the problem.
> I have done an illustrating example using UTF-8,
> (not cyrillic, I don't have these letters on my keyboard ;-)
>
> tb@linux:~$ mkdir cyrill
> tb@linux:~$ cd cyrill/
> tb@linux:~/cyrill$ git init
> Initialized empty Git repository in /home/tb/cyrill/.git/
> tb@linux:~/cyrill$ echo File>File
> tb@linux:~/cyrill$ git checkout -b bränch
> Switched to a new branch 'bränch'
> tb@linux:~/cyrill$ git add File
> tb@linux:~/cyrill$ git commit -m "Add File"
> [bränch (root-commit) e39d84e] Add File
> 1 file changed, 1 insertion(+)
> create mode 100644 "File"
> tb@linux:~/cyrill$ git branch
> * bränch
> tb@linux:~/cyrill$
>
> tb@macos:~> git clone tb@linux:~/cyrill
> Cloning into 'cyrill'...
> tb@linux's password:
> remote: Counting objects: 3, done.
> Receiving objects: 100% (3/3), done.
> remote: Total 3 (delta 0), reused 0 (delta 0)
> tb@macos:~> cd cyrill/
> tb@macos:~/cyrill> git branch
> * bränch
> tb@macos:~/cyrill> ls -l
> total 8
> -rw-r--r-- 1 tb staff 6 Jul 26 03:39 File
> tb@macos:~/cyrill>
>
> ===================
> Other question:
> what does (on Mac OS)
> git config core.precomposeunicode
> give you?
> /Torsten
okay, i've changed core.precomposeunicode to true and seems it solved the problem, branches are listed just fine and git push goes good as well. i didn't look that way at first time, thought that is case for filenames only, not branches.
thank you all for responces, i guess this time problem is really solved now. :)
prev parent reply other threads:[~2013-07-26 7:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-25 12:19 git and cyrillic branches иванов иван
2013-07-25 12:45 ` Konstantin Khomoutov
[not found] ` <992731374757601@web29h.yandex.ru>
2013-07-25 14:28 ` Konstantin Khomoutov
2013-07-25 14:51 ` ксовиран
2013-07-25 15:26 ` Martin Langhoff
2013-07-25 15:34 ` Konstantin Khomoutov
2013-07-25 16:07 ` Konstantin Khomoutov
2013-07-26 1:50 ` Torsten Bögershausen
2013-07-26 7:35 ` ксовиран [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1094181374824101@web4h.yandex.ru \
--to=xowirun@yandex.ru \
--cc=git@vger.kernel.org \
--cc=kostix+git@007spb.ru \
--cc=martin.langhoff@gmail.com \
--cc=tboegi@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.