]> git.madduck.net Git - code/mailplate.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:

fix template/mailfile detection while argument parsing
authormartin f. krafft <madduck@madduck.net>
Thu, 17 Jul 2008 11:11:16 +0000 (13:11 +0200)
committermartin f. krafft <madduck@madduck.net>
Thu, 17 Jul 2008 11:11:18 +0000 (13:11 +0200)
commitb6287ce4bbb2c7ca8d1056469fccf5eeb21e484c
treef300155d99c0bee8c1a7282cefc04351d472db21
parentf7d2365ee0ab439217083dd613daa4757a4e3d6e
fix template/mailfile detection while argument parsing

If template 'foo' is being used in a directory where ./foo exists,
the argument parsing decides that ./foo must be the message to
rewrite and clobbers it.

Now there are more sanity checks in place, and I first try to determine
the template, then the file.
mailplate