<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/trace.c, branch v1.7.3.5</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.7.3.5</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.7.3.5'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2010-12-17T21:40:32Z</updated>
<entry>
<title>trace.c: mark file-local function static</title>
<updated>2010-12-17T21:40:32Z</updated>
<author>
<name>Vasyl' Vavrychuk</name>
<email>vvavrychuk@gmail.com</email>
</author>
<published>2010-12-16T22:38:42Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=8e8aa44057b1f92bad43a0bd3a2d448e9cb45b18'/>
<id>urn:sha1:8e8aa44057b1f92bad43a0bd3a2d448e9cb45b18</id>
<content type='text'>
Signed-off-by: Vasyl' Vavrychuk &lt;vvavrychuk@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Do not call release_pack_memory in malloc wrappers when GIT_TRACE is used</title>
<updated>2010-05-09T05:28:01Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2010-05-08T15:18:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=3a0942598ce33b195bfaaf250b2da23e4eceb3c6'/>
<id>urn:sha1:3a0942598ce33b195bfaaf250b2da23e4eceb3c6</id>
<content type='text'>
This avoids a potential race condition when async procedures are
implemented as threads where release_pack_memory() can be called from
different threads without locking under memory pressure.

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>trace: Fixed a minor typo in an error message.</title>
<updated>2009-02-25T08:49:53Z</updated>
<author>
<name>Allan Caffee</name>
<email>allan.caffee@gmail.com</email>
</author>
<published>2009-02-25T01:22:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=a8fdab08e09bf73cbc3159930af41cf3233be853'/>
<id>urn:sha1:a8fdab08e09bf73cbc3159930af41cf3233be853</id>
<content type='text'>
Signed-off-by: Allan Caffee &lt;allan.caffee@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Trace and quote with argv: get rid of unneeded count argument.</title>
<updated>2007-12-04T06:11:53Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2007-12-03T04:51:50Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=b319ce4c14f7fe0ee469a3f9def1098d84177849'/>
<id>urn:sha1:b319ce4c14f7fe0ee469a3f9def1098d84177849</id>
<content type='text'>
Now that str_buf takes care of all the allocations, there is
no more gain to pass an argument count.

So this patch removes the "count" argument from:
	- "sq_quote_argv"
	- "trace_argv_printf"
and all the callers.

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Use is_absolute_path() in diff-lib.c, lockfile.c, setup.c, trace.c</title>
<updated>2007-11-26T20:32:05Z</updated>
<author>
<name>Steffen Prohaska</name>
<email>prohaska@zib.de</email>
</author>
<published>2007-11-25T22:29:03Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=ecf4831d89ba6986249e1bf232b2e2f5f7536223'/>
<id>urn:sha1:ecf4831d89ba6986249e1bf232b2e2f5f7536223</id>
<content type='text'>
Using the helper function to test for absolute paths makes porting easier.

Signed-off-by: Steffen Prohaska &lt;prohaska@zib.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Handle broken vsnprintf implementations in strbuf</title>
<updated>2007-11-14T10:00:13Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-11-13T08:22:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=f141bd804d2cba4500769934f9d9e7f0f7bcf282'/>
<id>urn:sha1:f141bd804d2cba4500769934f9d9e7f0f7bcf282</id>
<content type='text'>
Solaris 9's vsnprintf implementation returns -1 if we pass it a
buffer of length 0.  The only way to get it to give us the actual
length necessary for the formatted string is to grow the buffer
out to have at least 1 byte available in the strbuf and then ask
it to compute the length.

If the available space is 0 I'm growing it out by 64 to ensure
we will get an accurate length estimate from all implementations.
Some callers may need to grow the strbuf again but 64 should be a
reasonable enough initial growth.

We also no longer silently fail to append to the string when we are
faced with a broken vsnprintf implementation.  On Solaris 9 this
silent failure caused me to no longer be able to execute "git clone"
as we tried to exec the empty string rather than "git-clone".

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>sq_quote_argv and add_to_string rework with strbuf's.</title>
<updated>2007-09-21T10:31:18Z</updated>
<author>
<name>Pierre Habouzit</name>
<email>madcoder@debian.org</email>
</author>
<published>2007-09-19T22:42:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=7a33bcbe802080f3a926e93d66b65ff7c5e8c5ed'/>
<id>urn:sha1:7a33bcbe802080f3a926e93d66b65ff7c5e8c5ed</id>
<content type='text'>
* sq_quote_buf is made public, and works on a strbuf.
* sq_quote_argv also works on a strbuf.
* make sq_quote_argv take a "maxlen" argument to check the buffer won't grow
  too big.

Signed-off-by: Pierre Habouzit &lt;madcoder@debian.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>nfv?asprintf are broken without va_copy, workaround them.</title>
<updated>2007-09-21T06:17:22Z</updated>
<author>
<name>Pierre Habouzit</name>
<email>madcoder@debian.org</email>
</author>
<published>2007-09-20T08:43:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=19247e5510279f018f8358a72b38cc5aa62fac8a'/>
<id>urn:sha1:19247e5510279f018f8358a72b38cc5aa62fac8a</id>
<content type='text'>
* drop nfasprintf.
* move nfvasprintf into imap-send.c back, and let it work on a 8k buffer,
  and die() in case of overflow. It should be enough for imap commands, if
  someone cares about imap-send, he's welcomed to fix it properly.
* replace nfvasprintf use in merge-recursive with a copy of the strbuf_addf
  logic, it's one place, we'll live with it.
  To ease the change, output_buffer string list is replaced with a strbuf ;)
* rework trace.c to call vsnprintf itself.  It's used to format strerror()s
  and git command names, it should never be more than a few octets long, let
  it work on a 8k static buffer with vsnprintf or die loudly.

Signed-off-by: Pierre Habouzit &lt;madcoder@debian.org&gt;
</content>
</entry>
<entry>
<title>git-branch, git-checkout: autosetup for remote branch tracking</title>
<updated>2007-03-11T07:41:58Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>paolo.bonzini@lu.unisi.ch</email>
</author>
<published>2007-03-08T09:58:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=0746d19a823aa12239df9d32db6fa6795d8c8539'/>
<id>urn:sha1:0746d19a823aa12239df9d32db6fa6795d8c8539</id>
<content type='text'>
In order to track and build on top of a branch 'topic' you track from
your upstream repository, you often would end up doing this sequence:

  git checkout -b mytopic origin/topic
  git config --add branch.mytopic.remote origin
  git config --add branch.mytopic.merge refs/heads/topic

This would first fork your own 'mytopic' branch from the 'topic'
branch you track from the 'origin' repository; then it would set up two
configuration variables so that 'git pull' without parameters does the
right thing while you are on your own 'mytopic' branch.

This commit adds a --track option to git-branch, so that "git
branch --track mytopic origin/topic" performs the latter two actions
when creating your 'mytopic' branch.

If the configuration variable branch.autosetupmerge is set to true, you
do not have to pass the --track option explicitly; further patches in
this series allow setting the variable with a "git remote add" option.
The configuration variable is off by default, and there is a --no-track
option to countermand it even if the variable is set.

Signed-off-by: Paolo Bonzini  &lt;bonzini@gnu.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>short i/o: clean up the naming for the write_{in,or}_xxx family</title>
<updated>2007-01-08T23:44:47Z</updated>
<author>
<name>Andy Whitcroft</name>
<email>apw@shadowen.org</email>
</author>
<published>2007-01-08T15:57:52Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e08140568a131bcd26e64a0bc8188040847be998'/>
<id>urn:sha1:e08140568a131bcd26e64a0bc8188040847be998</id>
<content type='text'>
We recently introduced a write_in_full() which would either write
the specified object or emit an error message and fail.  In order
to fix the read side we now want to introduce a read_in_full()
but without an error emit.  This patch cleans up the naming
of this family of calls:

1) convert the existing write_or_whine() to write_or_whine_pipe()
   to better indicate its pipe specific nature,
2) convert the existing write_in_full() calls to write_or_whine()
   to better indicate its nature,
3) introduce a write_in_full() providing a write or fail semantic,
   and
4) convert write_or_whine() and write_or_whine_pipe() to use
   write_in_full().

Signed-off-by: Andy Whitcroft &lt;apw@shadowen.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
