Re: [PATCH 4/5] remote.c: teach branch_get() to treat symrefs other than HEAD

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

 



Felipe Contreras wrote:
> As I said, the @@{u} thing can be fixed through other ways.

It's not just @@{u}.  I can have lots of custom symbolic refs working
properly; I might choose D for my deleted-reflogs, M for master and so
on.

    $ git log M..

The point is that my solution solves the problem in the more general case.

> Moreover, "HEAD" is still a special case in remote.c::branch_get()
> that you just modified.

It's not.  It's just a quick shortcut for the common case because
read_config() already sets it up.
--
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]