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

Re: [RFC] git rev-contains [Was: merge -s ffonly]

From: Andreas Ericsson <hidden>
Date: 2016-06-15 22:45:27

Uwe Kleine-König wrote:
Hello,
quoted
+	if test -n "$(git rev-list $1..HEAD)"
I already wrote similar tests and I wonder if this couldn't be done in a
new builtin command more effectively.  Something like

	git rev-contains HEAD "$1"

.  I expect it to be faster and maybe it prevents a command line
overflow?!  (I remember something like 32000 chars max in a command, but
I could not trigger that with bash.)
On Linux (well, on my system anyways), it's 128K for arguments and
environment combined.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help