I was under the impression that the * glob does not match dot-prefixed files unless you manually enable such functionality (through dotglob, or your shell's equivalent).
Yet if I have a directory a containing files file1 and .hidden1, then if I do
tar -cvpjf backup.tar.bz2 --exclude 'a/*' a
the resulting tar file contains only the empty directory a and no trace of either the hidden or non-hidden file. My expectation would have been only the non-hidden file1 would have been excluded.
What is going on here?