* Git-tag's over-aggressive pipework fails badly on fresh Ubuntu, over NFS.
@ 2007-09-25 22:34 Samium Gromoff
2007-09-25 23:01 ` Johannes Schindelin
0 siblings, 1 reply; 2+ messages in thread
From: Samium Gromoff @ 2007-09-25 22:34 UTC (permalink / raw)
To: git
Hello folks,
Without the following applied, git-tag -s gets zeroes into TAG_TMP
in place of the .asc sig, resulting in an unsigned commit.
My repository is located on a NFS share, and I didn't check with NFS factored
out, so it might be more extensive.
I'm not sure what's the policy -- "go and fix Ubuntu, your filesystem
and your kernel", or "let's go the safe way", so there it is.
--- a/git-tag 2007-09-07 22:12:11.000000000 +0400
+++ b/git-tag 2007-09-26 02:19:42.000000000 +0400
@@ -143,7 +143,8 @@
rm -f "$GIT_DIR"/TAG_TMP.asc "$GIT_DIR"/TAG_FINALMSG
if [ "$signed" ]; then
gpg -bsa -u "$username" "$GIT_DIR"/TAG_TMP &&
- cat "$GIT_DIR"/TAG_TMP.asc >>"$GIT_DIR"/TAG_TMP ||
+ cat "$GIT_DIR"/TAG_TMP "$GIT_DIR"/TAG_TMP.asc > "$GIT_DIR"/TAG_TMP_RELAY &&
+ mv "$GIT_DIR"/TAG_TMP_RELAY "$GIT_DIR"/TAG_TMP ||
die "failed to sign the tag with GPG."
fi
object=$(git-mktag < "$GIT_DIR"/TAG_TMP)
Git is 1.5.2.5-2build1/Gutsy.
regards, Samium Gromoff
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Git-tag's over-aggressive pipework fails badly on fresh Ubuntu, over NFS.
2007-09-25 22:34 Git-tag's over-aggressive pipework fails badly on fresh Ubuntu, over NFS Samium Gromoff
@ 2007-09-25 23:01 ` Johannes Schindelin
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Schindelin @ 2007-09-25 23:01 UTC (permalink / raw)
To: Samium Gromoff; +Cc: git
Hi,
On Wed, 26 Sep 2007, Samium Gromoff wrote:
> Without the following applied, git-tag -s gets zeroes into TAG_TMP
> in place of the .asc sig, resulting in an unsigned commit.
You'll be delighted to hear that it is no longer necessary to patch
git-tag.sh (git-tag is not the right place), since git-tag is now a
builtin (without much in the way of pipes...)
Ciao,
Dscho
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-25 23:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-25 22:34 Git-tag's over-aggressive pipework fails badly on fresh Ubuntu, over NFS Samium Gromoff
2007-09-25 23:01 ` Johannes Schindelin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).