Dear Kim Phillips,

In message <20100607165650.9894b805.kim.phill...@freescale.com> you wrote:
>
> > I haven't seen any patches implementing this yet - am I missing
> > something?
> 
> rather than provide a (deficient) patch, I decided to provide basic
> instructions on how to enable the feature, because you still have to do
> the:

Thanks for the recipe.

> The other part (which the patch below does very trivially) is adding
> the snapshot.commit file, which effectively replaces the CHANGELOG by
> being filled with the commit id sha upon each git export.  I just
> wasn't sure if you felt like adding more reference data into the file -
> see man gitattributes (search for export-subst), and placeholders under
> PRETTY FORMATS of man git log - looking at the list now however, I'm
> pretty sure just he commit id sha is enough, so here you go.

Well, I decided to add a "%cD" for easy classification.

Applied:


>From b1f95b4438a6d44e12f04e7f51412f7a711ef87b Mon Sep 17 00:00:00 2001
From: Wolfgang Denk <w...@denx.de>
Date: Sat, 7 Aug 2010 00:32:50 +0200
Subject: [PATCH] Replace CHANGELOG files by auto-generated "snapshot.commit"

Idea and implementation courtesy of Kim Phillips <kim.phill...@freescale.com>

Signed-off-by: Wolfgang Denk <w...@denx.de>
---
 CHANGELOG                     |88970 -----------------------------------------
 CHANGELOG-before-U-Boot-1.1.5 | 5607 ---
 snapshot.commit               |    1 +
 3 files changed, 1 insertions(+), 94577 deletions(-)
 delete mode 100644 CHANGELOG
 delete mode 100644 CHANGELOG-before-U-Boot-1.1.5
 create mode 100644 snapshot.commit

diff --git a/CHANGELOG b/CHANGELOG
deleted file mode 100644


diff --git a/CHANGELOG-before-U-Boot-1.1.5 b/CHANGELOG-before-U-Boot-1.1.5
deleted file mode 100644


diff --git a/snapshot.commit b/snapshot.commit
new file mode 100644
index 0000000..8d26309
--- /dev/null
+++ b/snapshot.commit
@@ -0,0 +1 @@
+$Format:%H  %cD$
-- 
1.7.2



Thanks for your patience with an old man.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
"Just think, with VLSI we can have 100 ENIACS on a chip!"
- Alan Perlis
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to