Re: [PATCH] contrib/subtree: fix linefeeds trimming for cmd_split()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 6, 2015, 17:16 UTC
- Message-ID
- <xmqqwq0lbp87.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAMbsUu6=U92TRo-UeOL1qtaTipMQFzD+m+wM7sn1o-AjD6LJBw@mail.gmail.com>
Danny Lin <danny0838@gmail.com> writes:
Show 12 quoted lines
> If I run with: > printf "Hello, world1\r" > printf "Hello, world2\r" > printf "Hello, world3\r" > printf "Hello, world4\r" > > I get this on the screen: > Hello, world4 > > I don't see a problem in 'git fetch' or 'git checkout' > > Maybe using printf is the way to go?
Yes. Thanks.