<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/branch.c, branch v1.8.0.2</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.0.2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.0.2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2012-06-07T18:46:02Z</updated>
<entry>
<title>Remove i18n legos in notifying new branch tracking setup</title>
<updated>2012-06-07T18:46:02Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2012-06-07T12:05:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=d53a35032a67fde5b59c8a6a66e0466837cbaf1e'/>
<id>urn:sha1:d53a35032a67fde5b59c8a6a66e0466837cbaf1e</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>checkout: suppress tracking message with "-q"</title>
<updated>2012-03-27T04:32:43Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2012-03-26T23:51:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=f9a482e62b079cdf9e80889011b6f41f3c17f0c2'/>
<id>urn:sha1:f9a482e62b079cdf9e80889011b6f41f3c17f0c2</id>
<content type='text'>
Like the "switched to..." message (which is already
suppressed by "-q"), this message is purely informational.
Let's silence it if the user asked us to be quiet.

This patch is slightly more than a one-liner, because we
have to teach create_branch to propagate the flag all the
way down to install_branch_config.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'nd/resolve-ref'</title>
<updated>2011-12-20T00:05:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-12-20T00:05:50Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=2e05710a161e6287f239fae42b86b0cb46190834'/>
<id>urn:sha1:2e05710a161e6287f239fae42b86b0cb46190834</id>
<content type='text'>
* nd/resolve-ref:
  Rename resolve_ref() to resolve_ref_unsafe()
  Convert resolve_ref+xstrdup to new resolve_refdup function
  revert: convert resolve_ref() to read_ref_full()
</content>
</entry>
<entry>
<title>Merge branch 'jn/maint-sequencer-fixes'</title>
<updated>2011-12-20T00:05:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-12-20T00:05:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=b8fc5abd73e2e81c396844c09e8003de320709e5'/>
<id>urn:sha1:b8fc5abd73e2e81c396844c09e8003de320709e5</id>
<content type='text'>
* jn/maint-sequencer-fixes:
  revert: stop creating and removing sequencer-old directory
  Revert "reset: Make reset remove the sequencer state"
  revert: do not remove state until sequence is finished
  revert: allow single-pick in the middle of cherry-pick sequence
  revert: pass around rev-list args in already-parsed form
  revert: allow cherry-pick --continue to commit before resuming
  revert: give --continue handling its own function
</content>
</entry>
<entry>
<title>Merge branch 'jn/branch-move-to-self'</title>
<updated>2011-12-14T06:53:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-12-14T06:53:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=b2dd02112052aff875e8dc7d12b9915c91feafe2'/>
<id>urn:sha1:b2dd02112052aff875e8dc7d12b9915c91feafe2</id>
<content type='text'>
* jn/branch-move-to-self:
  Allow checkout -B &lt;current-branch&gt; to update the current branch
  branch: allow a no-op "branch -M &lt;current-branch&gt; HEAD"
</content>
</entry>
<entry>
<title>Rename resolve_ref() to resolve_ref_unsafe()</title>
<updated>2011-12-13T17:39:46Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2011-12-12T11:20:32Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=8cad4744ee37ebec1d9491a1381ec1771a1ba795'/>
<id>urn:sha1:8cad4744ee37ebec1d9491a1381ec1771a1ba795</id>
<content type='text'>
resolve_ref() may return a pointer to a shared buffer and can be
overwritten by the next resolve_ref() calls. Callers need to
pay attention, not to keep the pointer when the next call happens.

Rename with "_unsafe" suffix to warn developers (or reviewers) before
introducing new call sites.

This patch is generated using the following command

git grep -l 'resolve_ref(' -- '*.[ch]'|xargs sed -i 's/resolve_ref(/resolve_ref_unsafe(/g'

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Revert "reset: Make reset remove the sequencer state"</title>
<updated>2011-12-12T21:33:53Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2011-12-10T13:03:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=a7eff1e027270062c4c08f11d63b4103f3d917fe'/>
<id>urn:sha1:a7eff1e027270062c4c08f11d63b4103f3d917fe</id>
<content type='text'>
This reverts commit 95eb88d8ee588d89b4f06d2753ed4d16ab13b39f, which
was a UI experiment that did not reflect how "git reset" actually gets
used.  The reversion also fixes a test, indicated in the patch.

Encouraged-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/request-pull-show-head-4'</title>
<updated>2011-12-09T21:37:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-12-09T21:37:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=a4043aeafed7962716a513e38ca1d5e192e7e831'/>
<id>urn:sha1:a4043aeafed7962716a513e38ca1d5e192e7e831</id>
<content type='text'>
* jc/request-pull-show-head-4:
  request-pull: use the annotated tag contents
  fmt-merge-msg.c: Fix an "dubious one-bit signed bitfield" sparse error
  environment.c: Fix an sparse "symbol not declared" warning
  builtin/log.c: Fix an "Using plain integer as NULL pointer" warning
  fmt-merge-msg: use branch.$name.description
  request-pull: use the branch description
  request-pull: state what commit to expect
  request-pull: modernize style
  branch: teach --edit-description option
  format-patch: use branch description in cover letter
  branch: add read_branch_desc() helper function

Conflicts:
	builtin/branch.c
</content>
</entry>
<entry>
<title>Allow checkout -B &lt;current-branch&gt; to update the current branch</title>
<updated>2011-11-28T19:40:46Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2011-11-26T08:54:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=39bd6f726109942c6f77f59638f6763c9f00706c'/>
<id>urn:sha1:39bd6f726109942c6f77f59638f6763c9f00706c</id>
<content type='text'>
When on master, "git checkout -B master &lt;commit&gt;" is a more natural way to
say "git reset --keep &lt;commit&gt;", which was originally invented for the
exact purpose of moving to the named commit while keeping the local changes
around.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>revert: write REVERT_HEAD pseudoref during conflicted revert</title>
<updated>2011-11-22T21:34:44Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2011-11-22T11:17:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=82433cdf4d888639cecddeca162d619cf370417e'/>
<id>urn:sha1:82433cdf4d888639cecddeca162d619cf370417e</id>
<content type='text'>
When conflicts are encountered while reverting a commit, it can be
handy to have the name of that commit easily available.  For example,
to produce a copy of the patch to refer to while resolving conflicts:

	$ git revert 2eceb2a8
	error: could not revert 2eceb2a8... awesome, buggy feature
	$ git show -R REVERT_HEAD &gt;the-patch
	$ edit $(git diff --name-only)

Set a REVERT_HEAD pseudoref when "git revert" does not make a commit,
for cases like this.  This also makes it possible for scripts to
distinguish between a revert that encountered conflicts and other
sources of an unmerged index.

After successfully committing, resetting with "git reset", or moving
to another commit with "git checkout" or "git reset", the pseudoref is
no longer useful, so remove it.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
