From: Michael Witten <mfwitten@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Huynh Khoi Nguyen Nguyen
<Huynh-Khoi-Nguyen.Nguyen@ensimag.imag.fr>,
git@vger.kernel.org
Subject: [PATCH 3/3] Testing: XDG config files: Trivial: `xdg' -> `XDG'
Date: Tue, 17 Jul 2012 16:41:22 -0000 [thread overview]
Message-ID: <a4dd97acf90340c1b07e52a20c33c594-mfwitten@gmail.com> (raw)
In-Reply-To: <82316e5034d940e09fed719ae7bfdc3b-mfwitten@gmail.com>
For the sake of consistency and correctness, the acronymn `xdg'
has been capitalized (`XDG').
Signed-off-by: Michael Witten <mfwitten@gmail.com>
---
t/t1306-xdg-files.sh | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/t/t1306-xdg-files.sh b/t/t1306-xdg-files.sh
index 2327047..6a3ab09 100755
--- a/t/t1306-xdg-files.sh
+++ b/t/t1306-xdg-files.sh
@@ -11,7 +11,7 @@
GIT_CONFIG_DIR=$XDG_CONFIG_HOME/git
-test_expect_success 'read config: xdg file exists and "$HOME"/.gitconfig doesn'\''t' '
+test_expect_success 'read config: XDG file exists and "$HOME"/.gitconfig doesn'\''t' '
mkdir -p "$GIT_CONFIG_DIR" &&
echo "[alias]" >"$GIT_CONFIG_DIR"/config &&
echo " myalias = !echo in_config" >>"$GIT_CONFIG_DIR"/config &&
@@ -21,7 +21,7 @@
'
-test_expect_success 'read config: xdg file exists and "$HOME"/.gitconfig exists' '
+test_expect_success 'read config: XDG file exists and "$HOME"/.gitconfig exists' '
>"$HOME"/.gitconfig &&
echo "[alias]" >"$HOME"/.gitconfig &&
echo " myalias = !echo in_gitconfig" >>"$HOME"/.gitconfig &&
@@ -31,7 +31,7 @@
'
-test_expect_success 'read with --get: xdg file exists and "$HOME"/.gitconfig doesn'\''t' '
+test_expect_success 'read with --get: XDG file exists and "$HOME"/.gitconfig doesn'\''t' '
rm "$HOME"/.gitconfig &&
echo "[user]" >"$GIT_CONFIG_DIR"/config &&
echo " name = read_config" >>"$GIT_CONFIG_DIR"/config &&
@@ -41,7 +41,7 @@
'
-test_expect_success 'read with --get: xdg file exists and "$HOME"/.gitconfig exists' '
+test_expect_success 'read with --get: XDG file exists and "$HOME"/.gitconfig exists' '
>"$HOME"/.gitconfig &&
echo "[user]" >"$HOME"/.gitconfig &&
echo " name = read_gitconfig" >>"$HOME"/.gitconfig &&
@@ -51,7 +51,7 @@
'
-test_expect_success 'read with --list: xdg file exists and "$HOME"/.gitconfig doesn'\''t' '
+test_expect_success 'read with --list: XDG file exists and "$HOME"/.gitconfig doesn'\''t' '
rm "$HOME"/.gitconfig &&
echo user.name=read_config >expected &&
git config --global --list >actual &&
@@ -59,7 +59,7 @@
'
-test_expect_success 'read with --list: xdg file exists and "$HOME"/.gitconfig exists' '
+test_expect_success 'read with --list: XDG file exists and "$HOME"/.gitconfig exists' '
>"$HOME"/.gitconfig &&
echo "[user]" >"$HOME"/.gitconfig &&
echo " name = read_gitconfig" >>"$HOME"/.gitconfig &&
@@ -127,7 +127,7 @@
'
-test_expect_success 'write: xdg file exists and "$HOME"/.gitconfig doesn'\''t' '
+test_expect_success 'write: XDG file exists and "$HOME"/.gitconfig doesn'\''t' '
mkdir -p "$GIT_CONFIG_DIR" &&
>"$GIT_CONFIG_DIR"/config &&
test_might_fail rm "$HOME"/.gitconfig &&
@@ -138,7 +138,7 @@
'
-test_expect_success 'write: xdg file exists and "$HOME"/.gitconfig exists' '
+test_expect_success 'write: XDG file exists and "$HOME"/.gitconfig exists' '
>"$HOME"/.gitconfig &&
git config --global user.name "write_gitconfig" &&
echo "[user]" >expected &&
--
1.7.11.1.29.gf71be5c
prev parent reply other threads:[~2012-07-17 17:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-17 17:25 [PATCH 0/3] Testing: XDG config files: Fix broken tests Michael Witten
2012-07-17 16:41 ` [PATCH 1/3] Testing: XDG config files: Export a suitable `XDG_CONFIG_HOME' environment variable Michael Witten
2012-07-17 17:57 ` Jonathan Nieder
2012-07-17 18:14 ` Matthieu Moy
2012-07-17 18:31 ` Junio C Hamano
2012-07-17 16:41 ` [PATCH 2/3] Testing: XDG config files: Use "$HOME" and "$XDG_CONFIG_HOME" explicitly Michael Witten
2012-07-17 18:19 ` Matthieu Moy
2012-07-17 16:41 ` Michael Witten [this message]
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=a4dd97acf90340c1b07e52a20c33c594-mfwitten@gmail.com \
--to=mfwitten@gmail.com \
--cc=Huynh-Khoi-Nguyen.Nguyen@ensimag.imag.fr \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/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).