Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] git feedback

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] git feedback
  • Date: Fri, 28 Jul 2006 21:57:58 +0200

On Fri, Jul 28, 2006 at 10:35:41AM -0700, seth AT swoolley.homeip.net wrote:
[...]
> As in, you'd put that data in your commit message:
>
> section/spell:
> * BUILD: ...
> * DETAILS: ...
>
> section/spell:
> * PRE_BUILD: ...
> * DETAILS: ...
>
> and it would insert the date, name, address into appropriate HISTORY files,
> and even perhaps add a new line:
> * COMMIT: (sha1sum commit ID)
>
> You'd be able to easily cherry-pick what you need based off the HISTORY,
> and the user-level display could even filter out the COMMIT ids by default.
>
> More advanced changelogs could be generated based off a diff of the COMMIT
> ids.
>
> Not sure if this all would work as easily as I'm imagining, but it's a
> thought.

The first thing would probably work, but including the commit ID in the
HISTORY is a very bad idea as it can change as long as it's not in the
central repository due to a git rebase.

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page