Re: [PATCH] Introduce light weight commit annotations
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Jun 10, 2007, 22:58 UTC
- Message-ID
- <20070610225851.GA5761@steel.home>
- In-Reply-To
- <Pine.LNX.4.64.0706091854330.4059@racer.site>
Johannes Schindelin, Sat, Jun 09, 2007 19:55:10 +0200:
> +MESSAGE="$GIT_DIR"/COMMIT_ANNOTATION.$$ > +git log -1 $COMMIT | sed "s/^/#/" > "$MESSAGE" > + > +GIT_INDEX_FILE="$MESSAGE".idx
Because of pid in the filenames, you probably want to cleanup after the annotation is commited.