]> source.dussan.org Git - jgit.git/commit
PushCommand: Add utilities for --all, --tags 04/2704/2
authorShawn O. Pearce <spearce@spearce.org>
Mon, 14 Mar 2011 15:08:39 +0000 (08:08 -0700)
committerChris Aniszczyk <caniszczyk@gmail.com>
Tue, 15 Mar 2011 14:49:10 +0000 (09:49 -0500)
commit506ab8caa5e7f8cae71331867a4b32dae4cf832b
tree3f29411338a56de7fd3c33df04c98a6aa9a81e8d
parent599a55e4473f493e6f6c696a2b864e918a8e6da4
PushCommand: Add utilities for --all, --tags

The --all flag on the command line implies using refs/heads/* as
a push specification. Add this to the standard command object.

The --tags flag on the command line implies using refs/tags/* as
a push specification. Add this to the standard command object.

Change-Id: Iaef200b17cce77604548dbfb15cf2499b10687b5
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java
org.eclipse.jgit/src/org/eclipse/jgit/api/PushCommand.java