From: Alex Riesen <raa.lkml@gmail.com>
To: Junio C Hamano <junkio@cox.net>, git@vger.kernel.org
Subject: use GIT_DIR instead of /var/tmp
Date: Thu, 5 Jan 2006 12:52:07 +0100 [thread overview]
Message-ID: <81b0412b0601050352n386505bfjd40e515809e3c862@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 203 bytes --]
Not every system (will not one microsoft windows system) have /var/tmp,
whereas using GIT_DIR for random temporary files is more or less established.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
[-- Attachment #2: 0006-use-GIT_DIR-instead-of-var-tmp.txt --]
[-- Type: text/plain, Size: 531 bytes --]
Subject: [PATCH] use GIT_DIR instead of /var/tmp
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---
git-reset.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
9ba3fa786e3de644a9395f99e69cede912f64571
diff --git a/git-reset.sh b/git-reset.sh
index eb44ee8..6c9e58a 100755
--- a/git-reset.sh
+++ b/git-reset.sh
@@ -3,7 +3,7 @@
USAGE='[--mixed | --soft | --hard] [<commit-ish>]'
. git-sh-setup
-tmp=/var/tmp/reset.$$
+tmp=${GIT_DIR}/reset.$$
trap 'rm -f $tmp-*' 0 1 2 3 15
reset_type=--mixed
--
1.0.GIT
next reply other threads:[~2006-01-05 11:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-05 11:52 Alex Riesen [this message]
2006-01-05 16:38 ` use GIT_DIR instead of /var/tmp H. Peter Anvin
2006-01-05 16:47 ` Alex Riesen
2006-01-05 17:07 ` H. Peter Anvin
2006-01-05 16:42 ` Linus Torvalds
2006-01-05 16:49 ` Jon Nelson
2006-01-06 9:32 ` Alex Riesen
2006-01-06 10:00 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81b0412b0601050352n386505bfjd40e515809e3c862@mail.gmail.com \
--to=raa.lkml@gmail.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).