]> source.dussan.org Git - jgit.git/commit
ArchiveCommand: Do not warn for unsupported file mode 52/12252/5
authorJonathan Nieder <jrn@google.com>
Fri, 26 Apr 2013 20:47:56 +0000 (13:47 -0700)
committerJonathan Nieder <jrn@google.com>
Fri, 26 Apr 2013 21:12:42 +0000 (14:12 -0700)
commitbe047307fcd179934e0cd3a0cf4ffe9c758d5370
treed57e75908fb0c2430afa8e2e501159f2717acb81
parentb525e696d558bee033652d847b18514e5656fbda
ArchiveCommand: Do not warn for unsupported file mode

When ArchiveCommand is invoked directly on the command line, these
warnings to stderr

warning: mode of path/to/some/submodule ignored

are a useful hint, but in the more usual case where an archive is
being served by a server, the intended audience for that message
cannot see stderr.

Later it might be useful to accept a callback to return these warnings
out of band.

Change-Id: I22e79be69859176d85594031d67c6cb3371c4bd2
org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/CLIText.properties
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/CLIText.java
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/archive/ArchiveCommand.java