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

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:

incomplete work to try to guess the right mrconfig to register to
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 18 Oct 2007 20:11:31 +0000 (16:11 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 18 Oct 2007 20:11:31 +0000 (16:11 -0400)
commit0b92463c6a828645b635f2db5e9085337431bfa7
tree7d665b20a0d03e01a919b5cdafbdaf794c68d734
parent43ec2143d9c3d48449d287774a08e581e916d081
incomplete work to try to guess the right mrconfig to register to

madduck suggested that mr register should register to the closest
mrconfig file. This branch is a start at trying to do that, by redefining
MR_CONFIG to hold either the config file that registers the given repo,
or for unregistered repos, the closest mrconfig file

Current issues:
- absolute path is always passed in MR_CONFIG, which makes mr config
  add new repos with absolute paths
- MR_CONFIG is not set to the closest mrconfig file for unregistered repos
  yet. The problem is, if I do this, then it will override the setting
  from -c, and so it won't be possible to use mr register to register in an
  explicitly specified config file.

I think it also has some other bugs. For example, the current mapping
between directory and config file only allows for one config file in a given
directory. Which might not be true if you're using mr -c.

As far as I can take it for now, so stashing away in this branch.
mr