]> git.madduck.net Git - code/myrepos.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

releasing version 0.17
authorJoey Hess <joey@kitenet.net>
Thu, 29 Nov 2007 16:18:47 +0000 (11:18 -0500)
committerJoey Hess <joey@kitenet.net>
Thu, 29 Nov 2007 16:18:47 +0000 (11:18 -0500)
debian/changelog
lib/git-fake-bare
mr
mrconfig.complex

index 6ea3f1a37f220a679658fd28e0ccff4c23f8dacf..ff79043b61ca9ffd0a221c8f70c705d84ea56a03 100644 (file)
@@ -1,3 +1,9 @@
+mr (0.17) unstable; urgency=low
+
+  * Even bigger hammer: Set LC_ALL. Closes: #453305
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 29 Nov 2007 11:18:40 -0500
+
 mr (0.16) unstable; urgency=low
 
   * Use LC_MESSAGES=C not LANG=C, as if the user has LC_MESSAGES set, LANG
 mr (0.16) unstable; urgency=low
 
   * Use LC_MESSAGES=C not LANG=C, as if the user has LC_MESSAGES set, LANG
index ac634045d3b4defe0bc1cea0b069b4787947af80..33bd39eac2fb414bd08c333c20f59d71c1bfa467 100644 (file)
@@ -48,7 +48,7 @@ git_fake_bare_diff = error "diff does not work for fake bare git repositories (y
 git_fake_bare_log = git log "$@"
 
 git_fake_bare_register = 
 git_fake_bare_log = git log "$@"
 
 git_fake_bare_register = 
-       url="$(LC_MESSAGES=C GIT_CONFIG=config git-config --get remote.origin.url)" || true
+       url="$(LC_ALL=C GIT_CONFIG=config git-config --get remote.origin.url)" || true
        if [ -z "$url" ]; then
                error "cannot determine git url"
        fi
        if [ -z "$url" ]; then
                error "cannot determine git url"
        fi
diff --git a/mr b/mr
index db3abc5c0df4bfd46d2687fae195f1cb3df07688..e4beac816702a927bb94c55602fa94816f48576d 100755 (executable)
--- a/mr
+++ b/mr
@@ -1202,14 +1202,14 @@ darcs_log = darcs changes "$@"
 git_bare_log = git log "$@"
 
 svn_register =
 git_bare_log = git log "$@"
 
 svn_register =
-       url=`LC_MESSAGES=C svn info . | grep -i '^URL:' | cut -d ' ' -f 2`
+       url=`LC_ALL=C svn info . | grep -i '^URL:' | cut -d ' ' -f 2`
        if [ -z "$url" ]; then
                error "cannot determine svn url"
        fi
        echo "Registering svn url: $url in $MR_CONFIG"
        mr -c "$MR_CONFIG" config "`pwd`" checkout="svn co '$url' '$MR_REPO'"
 git_register = 
        if [ -z "$url" ]; then
                error "cannot determine svn url"
        fi
        echo "Registering svn url: $url in $MR_CONFIG"
        mr -c "$MR_CONFIG" config "`pwd`" checkout="svn co '$url' '$MR_REPO'"
 git_register = 
-       url="`LC_MESSAGES=C git config --get remote.origin.url`" || true
+       url="`LC_ALL=C git config --get remote.origin.url`" || true
        if [ -z "$url" ]; then
                error "cannot determine git url"
        fi
        if [ -z "$url" ]; then
                error "cannot determine git url"
        fi
@@ -1239,7 +1239,7 @@ darcs_register =
        echo "Registering darcs repository $url in $MR_CONFIG"
        mr -c "$MR_CONFIG" config "`pwd`" checkout="darcs get '$url'p '$MR_REPO'"
 git_bare_register = 
        echo "Registering darcs repository $url in $MR_CONFIG"
        mr -c "$MR_CONFIG" config "`pwd`" checkout="darcs get '$url'p '$MR_REPO'"
 git_bare_register = 
-       url="`LC_MESSAGES=C GIT_CONFIG=config git config --get remote.origin.url`" || true
+       url="`LC_ALL=C GIT_CONFIG=config git config --get remote.origin.url`" || true
        if [ -z "$url" ]; then
                error "cannot determine git url"
        fi
        if [ -z "$url" ]; then
                error "cannot determine git url"
        fi
index d329cf31520733ab1fc0d72b9d5c79b0f1053780..11f7f6f4bcf1e2bca7d433b45b0fddc9015549e1 100644 (file)
@@ -11,7 +11,7 @@ svn_cleanup = svn cleanup "$@"
 git_gc = git gc "$@"
 git_push = git push "$@"
 git_tag = git tag -l
 git_gc = git gc "$@"
 git_push = git push "$@"
 git_tag = git tag -l
-svn_tag = svn ls "$(LC_MESSAGES=C svn info . | grep -i ^URL: | cut -d ' ' -f 2 | sed -e 's/trunk/tags/')"
+svn_tag = svn ls "$(LC_ALL=C svn info . | grep -i ^URL: | cut -d ' ' -f 2 | sed -e 's/trunk/tags/')"
 # This hack is here because git-pull stupidly outputs tag info to stderr.
 # Shut it up but let real errors through, for use in cron.
 quietupdate = mr -s -n update 3>&1 1>/dev/null 2>&3 | egrep -v '(storing tag|tag: )' || true
 # This hack is here because git-pull stupidly outputs tag info to stderr.
 # Shut it up but let real errors through, for use in cron.
 quietupdate = mr -s -n update 3>&1 1>/dev/null 2>&3 | egrep -v '(storing tag|tag: )' || true