<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/git-parse-remote.sh, branch v1.7.6.3</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.7.6.3</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.7.6.3'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2011-04-28T21:11:39Z</updated>
<entry>
<title>Merge branch 'mz/rebase'</title>
<updated>2011-04-28T21:11:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-04-28T21:11:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=78c6e0f3fa41d697f2e01850b0a361e21095545d'/>
<id>urn:sha1:78c6e0f3fa41d697f2e01850b0a361e21095545d</id>
<content type='text'>
* mz/rebase: (34 commits)
  rebase: define options in OPTIONS_SPEC
  Makefile: do not install sourced rebase scripts
  rebase: use @{upstream} if no upstream specified
  rebase -i: remove unnecessary state rebase-root
  rebase -i: don't read unused variable preserve_merges
  git-rebase--am: remove unnecessary --3way option
  rebase -m: don't print exit code 2 when merge fails
  rebase -m: remember allow_rerere_autoupdate option
  rebase: remember strategy and strategy options
  rebase: remember verbose option
  rebase: extract code for writing basic state
  rebase: factor out sub command handling
  rebase: make -v a tiny bit more verbose
  rebase -i: align variable names
  rebase: show consistent conflict resolution hint
  rebase: extract am code to new source file
  rebase: extract merge code to new source file
  rebase: remove $branch as synonym for $orig_head
  rebase -i: support --stat
  rebase: factor out call to pre-rebase hook
  ...
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2011-03-31T02:33:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-03-31T02:33:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=bcef9b6327a7d0a01b9207a9cf0aa2783e12fb41'/>
<id>urn:sha1:bcef9b6327a7d0a01b9207a9cf0aa2783e12fb41</id>
<content type='text'>
* maint:
  parse-remote: typofix
</content>
</entry>
<entry>
<title>parse-remote: typofix</title>
<updated>2011-03-31T02:33:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-03-31T02:33:33Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=2352570bf43368f3d3931f7b24bb7fd44e68eef3'/>
<id>urn:sha1:2352570bf43368f3d3931f7b24bb7fd44e68eef3</id>
<content type='text'>
An earlier patch had a trivial typo that two people did not notice.
Pointed out by Michael Schubert.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2011-03-30T21:10:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-03-30T21:10:41Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=17a02998078923f2d62811326d130de991d1a95a'/>
<id>urn:sha1:17a02998078923f2d62811326d130de991d1a95a</id>
<content type='text'>
* maint:
  contrib/thunderbird-patch-inline: do not require bash to run the script
  t8001: check the exit status of the command being tested
  strbuf.h: remove a tad stale docs-in-comment and reference api-doc instead
  Typos: t/README
  Documentation/config.txt: make truth value of numbers more explicit
  git-pack-objects.txt: fix grammatical errors
  parse-remote: replace unnecessary sed invocation
</content>
</entry>
<entry>
<title>parse-remote: replace unnecessary sed invocation</title>
<updated>2011-03-30T18:42:08Z</updated>
<author>
<name>Stephen Boyd</name>
<email>bebarino@gmail.com</email>
</author>
<published>2011-03-30T08:48:40Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=9ecd3ada6dd7fe80109c48c48f30164c066d37ad'/>
<id>urn:sha1:9ecd3ada6dd7fe80109c48c48f30164c066d37ad</id>
<content type='text'>
Just use parameter expansion instead.

Signed-off-by: Stephen Boyd &lt;bebarino@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-request-pull: open-code the only invocation of get_remote_url</title>
<updated>2011-03-02T20:26:58Z</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2011-03-01T09:21:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=1a92777504afc09e071d7d828e084e6a4dadfce2'/>
<id>urn:sha1:1a92777504afc09e071d7d828e084e6a4dadfce2</id>
<content type='text'>
So sh:get_remote_url can go now and git-request-pull
doesn't need to source git-parse-remote. anymore.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>get_remote_url(): use the same data source as ls-remote to get remote urls</title>
<updated>2011-03-02T20:26:53Z</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2011-03-01T09:21:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=45781adb9a89c0c47f61ccf8062be26b86a38a54'/>
<id>urn:sha1:45781adb9a89c0c47f61ccf8062be26b86a38a54</id>
<content type='text'>
The formerly implemented algorithm behaved differently to
remote.c:remote_get() at least for remotes that contain a slash.  While the
former just assumes a/b is a path the latter checks the config for
remote."a/b" first which is more reasonable.

This removes the last user of git-parse-remote.sh:get_data_source(), so
this function is removed.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase: use @{upstream} if no upstream specified</title>
<updated>2011-02-10T22:45:25Z</updated>
<author>
<name>Martin von Zweigbergk</name>
<email>martin.von.zweigbergk@gmail.com</email>
</author>
<published>2011-02-10T01:54:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=15a147e61898d25ec8b539190e87f3a09592c9c8'/>
<id>urn:sha1:15a147e61898d25ec8b539190e87f3a09592c9c8</id>
<content type='text'>
'git rebase' without arguments is currently not supported. Make it
default to 'git rebase @{upstream}'. That is also what 'git pull
[--rebase]' defaults to, so it only makes sense that 'git rebase'
defaults to the same thing.

Defaulting to @{upstream} will make it possible to run e.g. 'git
rebase -i' without arguments, which is probably a quite common use
case. It also improves the scenario where you have multiple branches
that rebase against a remote-tracking branch, where you currently have
to choose between the extra network delay of 'git pull' or the
slightly awkward keys to enter 'git rebase @{u}'.

The error reporting when no upstream is configured for the current
branch or when no branch is checked out is reused from git-pull.sh. A
function is extracted into git-parse-remote.sh for this purpose.

Helped-by: Yann Dirson &lt;ydirson@altern.org&gt;
Helped-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Martin von Zweigbergk &lt;martin.von.zweigbergk@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mz/pull-rebase-rebased'</title>
<updated>2010-12-13T05:49:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-12-13T05:49:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=73fd7f3761eeef0e28bbf04727c8a1e751a9792e'/>
<id>urn:sha1:73fd7f3761eeef0e28bbf04727c8a1e751a9792e</id>
<content type='text'>
* mz/pull-rebase-rebased:
  Use reflog in 'pull --rebase . foo'
</content>
</entry>
<entry>
<title>parse-remote: handle detached HEAD</title>
<updated>2010-12-07T00:57:48Z</updated>
<author>
<name>Santi Béjar</name>
<email>santi@agolina.net</email>
</author>
<published>2010-12-06T10:20:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=f864f2615b76e5d74518c482ceeef3a2589017fe'/>
<id>urn:sha1:f864f2615b76e5d74518c482ceeef3a2589017fe</id>
<content type='text'>
get_remote_merge_branch with zero or one arguments returns the
upstream branch. But a detached HEAD does no have an upstream branch,
as it is not tracking anything. Handle this case testing the exit code
of "git symbolic-ref -q HEAD".

Reported-by: Sverre Rabbelier &lt;srabbelier@gmail.com&gt;
Signed-off-by: Santi Béjar &lt;santi@agolina.net&gt;
Tested-by: Sverre Rabbelier &lt;srabbelier@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
