Code

git-push: Accept -n as a synonym for --dry-run.
authorNelson Elhage <nelhage@MIT.EDU>
Sun, 13 Sep 2009 16:56:45 +0000 (12:56 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 13 Sep 2009 18:29:18 +0000 (11:29 -0700)
commit9f67fee2f0190e0b10e73862cbb88a3f7216f619
tree4ee21bd4d021e3fa970bafcb29e3670fff3a363a
parent12efe45a3363ebecd8954d04caadb23eba2e5020
git-push: Accept -n as a synonym for --dry-run.

git-push is not currently using -n for anything else, and it seems
unlikely we will want to use it to mean anything else in the future,
so add it as an alias for convenience.

Signed-off-by: Nelson Elhage <nelhage@mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-push.txt
builtin-push.c