emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Workflow to accumulate individual changes?


From: Teemu Likonen
Subject: Re: Workflow to accumulate individual changes?
Date: Fri, 01 Jan 2010 23:08:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

On 2010-01-01 15:12 (-0500), Karl Fogel wrote:

> Someone -- whom I thought would know -- specifically told me that the
> commit message is *not* part of the SHA1 of the commit object. I
> double checked, because this was surprising to me, and they confirmed.
>
> But either they were wrong, or I misunderstood, or possibly both. In
> any case, I'm sorry for spreading misinformation.

No problem. I'll still repeat that it's indeed misinformation. Here's a
raw content of a certain commit object in Emacs Git repository (the
four-space indent is by me):

    $ git cat-file commit 9a339f5

    tree ef4fd5bd3689b5c17a3eb6df705564a5d4fed602
    parent 031c7e409992e98fefc98c3e8a6be981a00c55a9
    author Chong Yidong <address@hidden> 1261901472 +0000
    committer Chong Yidong <address@hidden> 1261901472 +0000

    * minibuf.c (Fall_completions): Minor optimization.

We can see the commit message in the end. "git log" prints it like this:

    $ git log -1 9a339f5

    commit 9a339f5040b089f97a4b5c86eefa3942b2e5eda4
    Author: Chong Yidong <address@hidden>
    Date:   2009-12-27 08:11:12 +0000

        * minibuf.c (Fall_completions): Minor optimization.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]