[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Workflow to accumulate individual changes?
From: |
Karl Fogel |
Subject: |
Re: Workflow to accumulate individual changes? |
Date: |
Fri, 01 Jan 2010 15:12:01 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) |
Teemu Likonen <address@hidden> writes:
>On 2010-01-01 14:18 (-0500), Karl Fogel wrote:
>> IIUC, in git the commit message is *not* part of the change's
>> identity, it's just attached to the change, so you can edit the
>> message later.
>
>That's wrong--or your "change's identity" means something I don't
>understand. In Git commit's author, committer, date, parent commits'
>SHA1s, referenced tree object's SHA1 and commit message together make
>the content of a commit object. From this content is calculated the SHA1
>of that commit object. If you change any of these the SHA1 of the commit
>object will be different and hence the whole commit object will be
>different (i.e. its identity is different).
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.
>There is a related feature, though. New Git versions have "git notes"
>command which allows user to add additional notes to commits. Such extra
>notes can be added and removed freely and "git log" prints them after
>the commit message. Notes can be sent between repositories but currently
>it doesn't happen automatically with usual pull/push commands.
>
>http://www.kernel.org/pub/software/scm/git/docs/git-notes.html
Maybe this is what the person thought I was talking about.
-K
- Re: Workflow to accumulate individual changes?, (continued)
- Re: Workflow to accumulate individual changes?, Óscar Fuentes, 2010/01/01
- Re: Workflow to accumulate individual changes?, Eli Zaretskii, 2010/01/01
- Re: Workflow to accumulate individual changes?, Andreas Schwab, 2010/01/01
- Re: Workflow to accumulate individual changes?, Chong Yidong, 2010/01/01
- Re: Workflow to accumulate individual changes?, Eli Zaretskii, 2010/01/01
- Re: Workflow to accumulate individual changes?, Teemu Likonen, 2010/01/01
- Re: Workflow to accumulate individual changes?,
Karl Fogel <=
- Re: Workflow to accumulate individual changes?, Teemu Likonen, 2010/01/01
- Re: Workflow to accumulate individual changes?, Stephen J. Turnbull, 2010/01/01
- Re: Workflow to accumulate individual changes?, Karl Fogel, 2010/01/02
- Re: Workflow to accumulate individual changes?, Miles Bader, 2010/01/02
- Re: Workflow to accumulate individual changes?, Juanma Barranquero, 2010/01/02
- Re: Workflow to accumulate individual changes?, Miles Bader, 2010/01/02
- Re: Workflow to accumulate individual changes?, Karl Fogel, 2010/01/02
- Re: Workflow to accumulate individual changes?, Stephen J. Turnbull, 2010/01/05
- Re: Workflow to accumulate individual changes?, Stephen J. Turnbull, 2010/01/01
Re: Workflow to accumulate individual changes?, Stephen J. Turnbull, 2010/01/01