Re: [PATCH 0/7] Make "$remote/$branch" work with unconventional refspecs

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

 



Santi Béjar <santi@xxxxxxxxxxx> writes:

> The next question could be: why not make it work with $url too? As in:
>
> $ git merge git://git.kernel.org/pub/scm/git/git.git//master

You need to remember "merge" is a local operation, working in your
local repository.  Like it or not, the UI of Git makes distinction
between operations that are local and those that go to other
repositories (e.g. "git pull").

That of course does _not_ prevent you from writing an alternative UI
"got merge <anything>" that interprets <anthing> part and invokes
"git merge" or "git pull" as its helper (after all, Git is designed
to be scripted).
--
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]