]> source.dussan.org Git - jgit.git/commit
SubmoduleAddCommand: Remove double-check of submodule name 77/130577/2
authorJonathan Nieder <jrn@google.com>
Sun, 7 Oct 2018 21:59:35 +0000 (21:59 +0000)
committerJonathan Nieder <jrn@google.com>
Mon, 8 Oct 2018 02:14:02 +0000 (22:14 -0400)
commit51d656586bcd1d72af5288ea78f8e6bffd2c8809
treea4cfae8cf6a2027d0b4fa0e04cd71b426d747da2
parent8309f5011eaf161115b8e78a9d8f1a6a2a6c1c86
SubmoduleAddCommand: Remove double-check of submodule name

Since v4.7.5.201810051826-r~3 (SubmoduleAddCommand: Reject submodule
URIs that look like cli options, 2018-09-24), SubmoduleAddCommand
checks submodule names for ".." path components in
assertValidSubmoduleName.  This additional check for the same is
redundant.

Change-Id: I993326a370978880b690dc133a81fa3025935bcb
Signed-off-by: Jonathan Nieder <jrn@gmail.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/SubmoduleAddCommand.java