From: Eli Zaretskii <eliz@gnu.org>
To: Radon Rosborough <radon.neon@gmail.com>
Cc: yurivkhan@gmail.com, andrewjmoreton@gmail.com, emacs-devel@gnu.org
Subject: Re: Use of "Action stamps" in commit messages
Date: Fri, 13 Jul 2018 20:38:22 +0300 [thread overview]
Message-ID: <83a7qvc9yp.fsf@gnu.org> (raw)
In-Reply-To: <CADB4rJGQg6A=xHFF5hjHUW5wwyL_aq+6W2JqxxUjEOf4ogxR5w@mail.gmail.com> (message from Radon Rosborough on Fri, 13 Jul 2018 11:30:11 -0600)
> From: Radon Rosborough <radon.neon@gmail.com>
> Date: Fri, 13 Jul 2018 11:30:11 -0600
> Cc: Eli Zaretskii <eliz@gnu.org>, Andy Moreton <andrewjmoreton@gmail.com>,
> emacs-devel <emacs-devel@gnu.org>
>
> >> Maybe I'm missing something, but -- if we change to a different VCS,
> >> we are going to have to rewrite all the history anyway. Why would it
> >> be difficult to have a filter that goes through and replaces all the
> >> Git commit IDs with the corresponding ones for the new VCS?
> >
> > Because it is hard for an automatic tool to tell Git commit IDs from
> > unrelated hexadecimal numbers.
>
> The tool will know all the valid Git commit IDs, though. It could
> translate unambiguous prefixes of more than 12 characters (or
> something) automatically
Git SHA1 signatures don't require 12 digits, 7 are almost always
enough. And then there's the output of "git describe" as a variant
that should also be supported.
> and then prompt the user to resolve the rest. It seems to me like
> translating the whole thing wouldn't be more than an afternoon's
> work—are there really that many hexadecimal numbers that happen to
> be prefixes of Git commit IDs in commit messages?
You are overly optimistic. Last time we bumped into this, it required
a lot of non-trivial manual work.
> IOW, although there are complications, this is something that would
> only happen extremely rarely, and would only have to be done by one
> person, and probably won't even happen at all. Whereas the alternative
> solution requires all the developers to expend extra mental energy.
Some problems cannot be worked around. Its just the way things are.
next prev parent reply other threads:[~2018-07-13 17:38 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-13 9:13 Use of "Action stamps" in commit messages (WAS: [Emacs-diffs] master babe0d4: Rearrange definition of zerop in subr.el) Noam Postavsky
2018-07-13 12:01 ` Eli Zaretskii
2018-07-13 12:59 ` Use of "Action stamps" in commit messages Andy Moreton
2018-07-13 13:45 ` Eli Zaretskii
2018-07-13 15:01 ` Andy Moreton
2018-07-13 15:05 ` Eli Zaretskii
2018-07-13 17:07 ` Radon Rosborough
2018-07-13 17:24 ` Yuri Khan
2018-07-13 17:30 ` Radon Rosborough
2018-07-13 17:38 ` Eli Zaretskii [this message]
2018-07-13 17:34 ` Eli Zaretskii
2018-07-13 18:17 ` John Yates
2018-07-13 18:48 ` Eli Zaretskii
2018-07-13 15:25 ` Paul Eggert
2018-07-13 18:15 ` Eric S. Raymond
2018-07-13 18:59 ` Eli Zaretskii
2018-07-13 19:06 ` Eric S. Raymond
2018-07-13 19:30 ` Eli Zaretskii
2018-07-13 20:10 ` Paul Eggert
2018-07-13 20:47 ` Eric S. Raymond
2018-07-14 7:08 ` Eli Zaretskii
2018-07-14 14:38 ` Paul Eggert
2018-07-14 15:48 ` Eli Zaretskii
2018-07-14 9:49 ` Andy Moreton
2018-07-14 2:45 ` Noam Postavsky
2018-07-14 2:51 ` Brett Gilio
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83a7qvc9yp.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=andrewjmoreton@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=radon.neon@gmail.com \
--cc=yurivkhan@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.