Re: [PATCH] rev-parse --symbolic-full-name: don't print '^' if SHA1 is not a ref

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

 



Johannes Sixt <j.sixt@xxxxxxxxxxxxx> writes:

> From: Johannes Sixt <johannes.sixt@xxxxxxxxxx>
>
> The intention of --symbolic-full-name is to not print anything if a
> revision is not an exact ref. But this command:
>
>     $ git-rev-parse --symbolic-full-name --not master~1
>
> still emitted a sole '^' to stdout (provided that there's no other ref at
> master~1).

Well spotted.  Thanks.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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]

  Powered by Linux