X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/2ccc38f4061497e18172d3e9a470c3d489a0e23e..4fcd993763e3df3e77d6b86bbd514f417d0a5bcd:/lib/git-fake-bare?ds=sidebyside diff --git a/lib/git-fake-bare b/lib/git-fake-bare index ac63404..140d24d 100644 --- a/lib/git-fake-bare +++ b/lib/git-fake-bare @@ -1,7 +1,7 @@ # An example of how to add a new revision control system type to mr. # git fake bare repositories have a detached workspace. One potential # application is storing dotfiles in git, keeping them checked out in -# one $HOME, but checked into different git repositories. This file adds +# ones $HOME, but checked into different git repositories. This file adds # support for them, separate from the normal git support. # To make mr use this file, add a line like this inside the [DEFAULT] @@ -43,12 +43,14 @@ git_fake_bare_status = git status "$@" || true git_fake_bare_commit = error "commit does not work for fake bare git repositories (yet)." +git_fake_bare_record = error "record does not work for fake bare git repositories (yet)." + git_fake_bare_diff = error "diff does not work for fake bare git repositories (yet)." 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