On 5/19/20 12:52 PM, Eric Blake wrote:
On 5/19/20 11:18 AM, Eric Blake wrote:
Include actions for --add, --remove, --clear, --enable, --disable, and
--merge (note that --clear is a bit of fluff, because the same can be

+        case 'g':
+            granularity = cvtnum(optarg);
+            if (granularity < 0) {
+                error_report("Invalid granularity specified");
+                return 1;
+            }

Phooey. I forgot to commit my changes before creating the tag. v3 pull request coming up :(

For the record, I've now made it harder for myself to repeat this mistake, by doing:

$ cat > .git/hooks/sendemail-validate <<\EOF
#!/bin/sh
git diff-files --quiet --ignore-submodules -- ||
  { echo "You have unstaged changes."; exit 1; }
git diff-index --cached --quiet HEAD --ignore-submodules -- ||
  { echo "Your index contains uncommitted changes."; exit 1; }
$ chmod +x .git/hooks/sendemail-validate

[thanks to John Snow for advice on IRC]

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org


Reply via email to