diff options
author | Célestin Matte <celestin.matte@ensimag.fr> | 2013-06-11 15:38:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-11 14:27:15 -0700 |
commit | 5ada8687995fadea01f755d52ceec58337d003a3 (patch) | |
tree | faa4b55145e54ceca527cc839cf87351d9e69dce /contrib/credential/gnome-keyring/.gitignore | |
parent | Git 1.8.3 (diff) | |
download | tgif-5ada8687995fadea01f755d52ceec58337d003a3.tar.xz |
git-remote-mediawiki: display message when launched directly
Users may be confused when they run the perl script directly.
A good way to detect this is to check the number of parameters used to call the
script, which is never different from 2 in a normal use.
Display a proper error message to avoid any confusion.
Signed-off-by: Célestin Matte <celestin.matte@ensimag.fr>
Signed-off-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/credential/gnome-keyring/.gitignore')
0 files changed, 0 insertions, 0 deletions