Re: determine name of tag used for checkout when multiple tags exist?

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

 



On Fri, Sep 4, 2015 at 5:19 AM, John Keeping <john@xxxxxxxxxxxxx> wrote:

> I think it would be a reasonable enhancement to include the branch name
> in the reflog message if "-b" is given to "git clone", but I'm not aware
> of any (formal) policy on the format of reflog messages so relying on
> any particular message may not be 100% reliable across Git upgrades.


Thanks for posting my dropped message.  Apparently the gmail Android
app doesn't do plain text.  I understand that parsing the reflog
message may not be future-proof, but I'm going to go for it.  I think
that will be more reliable than trying to track the tag name
externally.  Having the reflog message show up for a "-b" clone would
be helpful, but it will be easy enough for me to clone HEAD, then
immediately checkout the tag of interest.  Thanks again for the
suggestion, would've never thought use the reflog.
--
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]