From: Alex Riesen Date: Sun, 10 Jun 2007 22:58:51 GMT Subject: Re: [PATCH] Introduce light weight commit annotations Message-ID: <20070610225851.GA5761@steel.home> In-Reply-To: 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.