git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Torsten Bögershausen" <tboegi@web.de>
To: "иванов иван" <xowirun@yandex.ru>
Cc: git@vger.kernel.org
Subject: Re: git and cyrillic branches
Date: Fri, 26 Jul 2013 03:50:47 +0200	[thread overview]
Message-ID: <51F1D5F7.5060101@web.de> (raw)
In-Reply-To: <922031374754788@web29h.yandex.ru>

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

  parent reply	other threads:[~2013-07-26  1:50 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 [this message]
2013-07-26  7:35   ` ксовиран

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=51F1D5F7.5060101@web.de \
    --to=tboegi@web.de \
    --cc=git@vger.kernel.org \
    --cc=xowirun@yandex.ru \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).