Re: [BUG?] Issue with branch -avv command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 07, 2017 at 01:08:23PM +0800, diguazhixiu@xxxxxxxxx wrote:

> Hi, all,
> 
> I have a problem when I use command 'git branch -avv', the result is
> like  below:
> 
>   my_test_branch                        d67ab86 fix some problem
> * master                                     27c4e0b [origin/master]
> Add new file
>  See merge request !146g within bucketsa824 Merge branch 'master' into 'master'
>   pref                                           060cac2 Fix bug
>   remotes/origin/HEAD                 -> origin/master
>   remotes/origin/my_test_branch d67ab86 fix some problem
>   remotes/origin/master               27c4e0b Add new file
>  See merge request !146g within bucketsa824 Merge branch 'master' into 'master'
> 
> The message ' See merge request...'  take the place of branch name, so
> I have to user 'git branch -a'
> to see the corresponding branch name.
> 
> Now, is my usage wrong? or is this a problem?

Do you perhaps have a commit at the tip of the branch that has a
carriage-return in it? Try piping the output through "cat -A" and look
for "^M" in the output.

-Peff



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]