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

fix task_attach link parsing
authormartin f. krafft <madduck@madduck.net>
Tue, 26 Mar 2019 12:01:58 +0000 (13:01 +0100)
committermartin f. krafft <madduck@madduck.net>
Tue, 26 Mar 2019 12:03:05 +0000 (13:03 +0100)
.bin/task_attach

index efcbf4b7952fd799ad48d4d6e95d67c1578d5b07..7df89a6a4092b7a9d7b51997a8e6c65ee1b38dd2 100755 (executable)
@@ -11,7 +11,7 @@ LINK="$2"
 
 case "$LINK" in
   (*@*|"<*>")
 
 case "$LINK" in
   (*@*|"<*>")
-    LINK="${LINK%>}"; LINK="%{LINK#<}"
+    LINK="${LINK%>}"; LINK="${LINK#<}"
     echo >&2 I: "Adding MsgID <$LINK> to task $TSK"
     task "$TSK" mod data:msgid:"$LINK"
     ;;
     echo >&2 I: "Adding MsgID <$LINK> to task $TSK"
     task "$TSK" mod data:msgid:"$LINK"
     ;;