feature proposal: named branches without named branches
Arne Babenhauserheide
arne_bab at web.de
Tue Nov 15 18:47:39 UTC 2016
Uwe Brauer writes:
> git log --graph --decorate --pretty=short | git name-rev --stdin | more
…
> Resulting for example for the auctex repository in
>
> * commit eb2d64bede8587c864c3031f233a0ae87c3f3a03 (master) (HEAD, origin/master, origin/HEAD, master)
> |
> * commit 17d1a5d71f9fb6adbb90e17dbf223f3bf1e2f92a (master~153)
> |\ Merge: f9efa73 1950012
> | * commit 1950012155d539f05c393dae3d6e93548bbc57b2 (remotes/origin/simplify-TeX-parse-error~136)
> | |\ Merge: b4ff376 4b21d3f
> So the () after the HASH indicate to which branch a commit belongs.
What happens here if I create a branch which starts at 17d1a5d. Which
branch will 17d1a5d belong to?
> * commit eb2d64bede8587c864c3031f233a0ae87c3f3a03 (master) (HEAD, origin/master, origin/HEAD, master)
> |
> | * commit XYZ (foo) (HEAD, origin/master, origin/HEAD, master)
> |/
> * commit 17d1a5d71f9fb6adbb90e17dbf223f3bf1e2f92a (master~153 or foo~1?) <--- this is the question
What happens if origin removes the branch simplify-TeX-parse-error (as
is the common action when a github pull request is merged)?
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein
ohne es zu merken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20161115/9ea28350/attachment.asc>
More information about the Mercurial
mailing list