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

Re: [PATCH] git-svn: remove --first-parent, add --upstream

From: Eric Wong <hidden>
Date: 2016-06-15 22:43:34

Eric Wong [off-list ref] wrote:
Lars Hjemli [off-list ref] wrote:
quoted
This makes git-svn always issue the --first-parent option to git-log when
trying to establish the "base" subversion branch, so the --first-parent
option to git-svn is no longer needed. Instead a new option, --upstream
<revspec>, is introduced. When this is specified the search for embedded
git-svn-id lines in commit messages starts at the specified revision, if
not specified the search starts at HEAD.

Signed-off-by: Lars Hjemli <redacted>
Looks good to me.

Acked-by: Eric Wong <redacted>
Wait, actually.  --upstream won't ever populate the refs array in
working_head_info for dcommit (but --first-parent should be great for
that).

But the rest of the commands is fine.  I also just noticed cmd_find_rev
passes the @refs argument to working_head_info() unnecessarily.

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