Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=7776a5630b0def0bb20435e9530f3e6c43556459
commit 7776a5630b0def0bb20435e9530f3e6c43556459
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date: Wed Sep 10 20:19:20 2008 +0200
dg send: fix for the case when the names are quoted
noticed by IroNiQ
diff --git a/darcs-git.py b/darcs-git.py
index f68b1d3..bec5aee 100755
--- a/darcs-git.py
+++ b/darcs-git.py
@@ -750,8 +750,11 @@ Options:
elif opt in ("-t", "--to"):
options.to = '--to="%s"' % arg
elif opt in ("-c", "--cc"):
- for i in arg.split(', '):
- options.cc += ' --cc="%s"' % i
+ for i in arg.split('>, '):
+ if i == arg.split('>, ')[-1]:
+ options.cc += ' --cc="%s"' % i
+ else:
+ options.cc += ' --cc="%s>"' % i
optind += 1
if optind < len(argv):
options.gitopts = " ".join(argv[optind:])
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git