]> 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:

Simpler vcsh status command line. Closes: #685089
authorJoey Hess <joey@kitenet.net>
Thu, 16 Aug 2012 23:09:43 +0000 (16:09 -0700)
committerJoey Hess <joey@kitenet.net>
Thu, 16 Aug 2012 23:09:43 +0000 (16:09 -0700)
debian/changelog
mr

index a1dca16ec64a4f2dea89d21261b39de4453723dd..68fc1cdd776dff6699e747de72d6202f2cc27f8c 100644 (file)
@@ -2,6 +2,7 @@ mr (1.13) UNRELEASED; urgency=low
 
   * Pass -q to cvs diff and update. Closes: #673367
   * mr bootstrap: Now supports ssh:// urls.
 
   * Pass -q to cvs diff and update. Closes: #673367
   * mr bootstrap: Now supports ssh:// urls.
+  * Simpler vcsh status command line. Closes: #685089
 
  -- Joey Hess <joeyh@debian.org>  Fri, 18 May 2012 12:27:45 -0400
 
 
  -- Joey Hess <joeyh@debian.org>  Fri, 18 May 2012 12:27:45 -0400
 
diff --git a/mr b/mr
index 60801f6a760144aeae9091602e1fa7a3b861eac5..2876fbe9c7a3d8bcdff1695ce270bc6a3f8c13e9 100755 (executable)
--- a/mr
+++ b/mr
@@ -1913,7 +1913,7 @@ cvs_status = cvs status "$@"
 hg_status  = hg status "$@"
 darcs_status = darcs whatsnew -ls "$@" || true
 fossil_status = fossil changes "$@"
 hg_status  = hg status "$@"
 darcs_status = darcs whatsnew -ls "$@" || true
 fossil_status = fossil changes "$@"
-vcsh_status = cd $(vcsh run "$MR_REPO" git config --get core.worktree); vcsh run "$MR_REPO" git status -s "$@" || true
+vcsh_status = vcsh run "$MR_REPO" git -c status.relativePaths=false status -s "$@" || true
 veracity_status = vv status "$@"
 
 svn_commit = svn commit "$@"
 veracity_status = vv status "$@"
 
 svn_commit = svn commit "$@"