From: Uwe Brauer <oub@mat.ucm.es>
To: Phil Hord <phil.hord@gmail.com>
Cc: "Uwe Brauer" <oub@mat.ucm.es>,
"Junio C Hamano" <gitster@pobox.com>,
"Rafael Ascensão" <rafa.almas@gmail.com>,
Git <git@vger.kernel.org>, "Alban Gruin" <alban.gruin@gmail.com>
Subject: Re: [problem with name-rev]
Date: Wed, 21 Aug 2019 09:50:25 +0200 [thread overview]
Message-ID: <87pnkz2bzy.fsf@mat.ucm.es> (raw)
In-Reply-To: CABURp0qHnzpwr8dPtPZpA+1C=tEsoybh2V00iHpyrJ2AM8XHzQ@mail.gmail.com
[-- Attachment #1: Type: text/plain, Size: 1491 bytes --]
> On Tue, Aug 20, 2019 at 12:35 PM Uwe Brauer <oub@mat.ucm.es> 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 3262040f2d8d5f31b4918bda9987e6b5f788531f (foo)
> | Author: Phil Hord <phord@purestorage.com>
> | Date: Tue Aug 20 12:44:32 2019
> |
> | 1.2.1
> |
> * commit fc66c4311bf954d455f468581f2913dffa0f9c2b
> | Author: Phil Hord <phord@purestorage.com>
> | Date: Tue Aug 20 12:44:32 2019
> |
> | 1.2
> |
> | * commit 109e5d4baef4e99cf636189ba1499af817ab0bb1 (HEAD -> master)
> |/ Author: Phil Hord <phord@purestorage.com>
> | Date: Tue Aug 20 12:44:32 2019
> |
> | 1.1
> |
> * commit 5c1e93ed7c5b3b241d5adfadb365a6bca5d60d3a
> Author: Phil Hord <phord@purestorage.com>
> Date: Tue Aug 20 12:44:32 2019
> 1
That's it, thanks. Interestingly enough the
git graph looks differently from the mercurial one.
The mercurial one looks purely linear (with two branches) while the git one is not,
but maybe it is not clear to me who to translate the git command
git checkout -b foo master~1
To mercurial?
Anyhow the original question was about having a sort of local revision
number and I see that this is somehow possible, which was not clear to
me before.
Thanks
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5025 bytes --]
next prev parent reply other threads:[~2019-08-21 7:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-15 8:35 git log --graph with a sort of local revision number Uwe Brauer
2019-08-18 19:00 ` Rafael Ascensão
2019-08-18 19:16 ` Uwe Brauer
2019-08-18 20:46 ` Uwe Brauer
2019-08-18 20:55 ` [SOLVED] (was: git log --graph with a sort of local revision number) Uwe Brauer
2019-08-20 14:32 ` [problem with name-rev] " Uwe Brauer
2019-08-20 15:06 ` SZEDER Gábor
2019-08-20 17:49 ` Rafael Ascensão
2019-08-20 18:21 ` [problem with name-rev] Junio C Hamano
2019-08-20 19:34 ` Uwe Brauer
2019-08-20 19:57 ` Phil Hord
2019-08-21 7:50 ` Uwe Brauer [this message]
2019-08-21 12:37 ` Uwe Brauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pnkz2bzy.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=alban.gruin@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=phil.hord@gmail.com \
--cc=rafa.almas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).