Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH] fix "git-submodule add a/b/c/repository"

From: Sylvain Joyeux <hidden>
Date: 2016-06-15 22:44:54

On Mon, Jul 07, 2008 at 11:26:12PM -0400, Mark Levedahl wrote:
Junio C Hamano wrote:
quoted
I'd like to hear clarifications on two counts, please?
 (1) If Sylvain wanted to have that appear at dir0/dir1/init not init,
     would it have been sufficient to give that path twice (once for
     <repository> and another for <path> parameter) to make things work as
     expected?
  
git-submodule really requires two arguments:
Then it should raise an error when the following is given

  git submodule add ./relative-path-in-repo

which, for now, is accepted as

  git submodule add ./relative-path-in-repo ./relative-path-in-repo

(and confused me into thinking it was a normal behaviour)

Sylvain
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help