> That's it, thanks. Interestingly enough the
> git graph looks differently from the mercurial one.
It does not. I just did not understand the git commands at first sight
well enough. Both graphs look the same. Sorry for the noise.
> On Tue, Aug 20, 2019 at 12:35 PM Uwe Brauer wrote:
> Try adding '--all' to include all refs, not just the current HEAD, to
> begin logging from. Here is what I see after running your setup
> script.
> $ git log --graph --decorate --all
> * commit 3262040f2d8d5f31b4918bda998
On Tue, Aug 20, 2019 at 12:35 PM Uwe Brauer wrote:
>
> Take the following part of what I did
>
> git init
> echo 1 > 1
> git add 1
> git commit -m 1
> echo 1.1 > 1
> git add .
> git commit -m 1.1
> git checkout -b foo master~1
> echo 1.2 > 1
> git add .
> git commit -m 1.2
> echo 1.2.1 > 1
> git a
>>> "JCH" == Junio C Hamano writes:
> Uwe Brauer writes:
>> Gives
>> * changeset: ae68dbe:master
>> |\ user: Uwe Brauer
>> | | date: Tue Aug 20 16:25:53 2019 +0200
>> | | summary: 1.2.1/1.1
>> | |
>> | * changeset: c00bb5d:master^2
>> | | user: Uwe
Uwe Brauer writes:
> Gives
> * changeset: ae68dbe:master
> |\ user: Uwe Brauer
> | | date: Tue Aug 20 16:25:53 2019 +0200
> | | summary: 1.2.1/1.1
> | |
> | * changeset: c00bb5d:master^2
> | | user: Uwe Brauer
> | | date: Tue Aug 20 16:25:53 2019 +0200
> | | summary: 1.
On Tue, Aug 20, 2019 at 04:32:12PM +0200, Uwe Brauer wrote:
>
> It seems that there is problem with name-rev.
>
In git, branches are just pointers to a commits. Commits do not store
any information about branches. They're similar to mercurial bookmarks.
Thus, git is not able
On Tue, Aug 20, 2019 at 04:32:12PM +0200, Uwe Brauer wrote:
> Here's what I get when I start committing on master, then switch to a
> branch foo and finally merge foo into master:
> * changeset: ae68dbe:master
> |\ user: Uwe Brauer
> | | date: Tue Aug 20 16:25:53 2019 +0200
> | | summ
; | git name-rev --refs=$(git rev-parse --abbrev-ref HEAD) --name-only
--stdin
It seems that there is problem with name-rev.
Here's what I get when I start committing on master, then switch to a
branch foo and finally merge foo into master:
git init
echo 1 > 1
git add 1
git commit -m 1
echo
8 matches
Mail list logo