2006/10/17, Junio C Hamano <junkio@cox.net>:
[...]
Yes, that is.
I'll try. Off-topic: Do you want also docs for the ^@ notation and an
implementation in git-rev-parse?
I see them differently. "branch.remote=." is when there is no upstream
(e.g., for your next and master branches in git.git).
You never know if you can get away without re-fetching (or I don't
parse this sentence :). The way I see it, you always us "git pull"
except when you want to merge the exactly the already fetch branch
because (1) you want to merge the same upstream as with other branch
(2) you don't have access to the remote repository (3)...
This is the next item in my TODO :)
Next with a program similar to "svn info" showing misc info about a branch.
I get it. Another idea is to have a .git/ORIGIN that points to the
tracking branch so you could say:
git log ..ORIGIN
git log ORIGIN..
git log ORIGIN...
git show-branch ORIGIN next
One advantage is that it only needs changes to "git checkout" (and
possibly others but not to plumbing ones).
Another is that the ^ notation forces the low level tools to follow
configs in [branch."..."] and [remote."..."].
I don't know if it is a clever idea but...
We could use the git-name-rev method:
$git log a...b
commit sha1 (a)
....
commit sha1 (a^)
....
commit sha1 (b^)
....
commit sha1 (b)
....
and without this when on both branches.
Santi
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html