git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git *accepts* a branch name, it can't identity in the future?

From
Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
Date
Aug 20, 2017, 09:11 UTC
Message-ID
<1503220271.5824.9.camel@gmail.com>
In-Reply-To
<829ac9ed-857d-84bf-2374-6a36b1d0aff1@kdbg.org>
On Sun, 2017-08-20 at 10:20 +0200, Johannes Sixt wrote:
Show 5 quoted lines
> It is not Git's fault that your terminal converts an invalid UTF-8 
> sequence (that your script produces) to �. Nor is it when you paste that 
> character onto the command line, that it is passed as a (correct) UTF-8 
> character.
> 

You're right. I just now realise how I missed the line between "what's seen by us" and "what's seen by the program".

> Perhaps this helps (untested):
> 
> $ git branch -m done/$(printf '\x93')doc-fix done/dic-fix
> 
This one helped, thanks.
-- 
Kaartic
Previous: Johannes SixtNext: Jeff King
Message 3 of 5 in “Git *accepts* a branch name, it can't identity in the future?”
  1. Kaartic SivaraamAug 20, 2017
  2. Johannes SixtAug 20, 2017
  3. Kaartic SivaraamAug 20, 2017
  4. Jeff KingAug 20, 2017
  5. Kaartic SivaraamAug 20, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.