<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2portuguesefull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"> <channel><title>Desenvolvimento Web com Classe (por William G. Comnisky)</title> <link>http://blog.will.eti.br</link> <description>Aplicações web com PHP, universo TI e cotidiano</description> <lastBuildDate>Wed, 22 Feb 2012 18:35:32 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/DesenvolvimentoWebComClasse" /><feedburner:info uri="desenvolvimentowebcomclasse" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/DesenvolvimentoWebComClasse" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><feedburner:feedFlare href="http://hub.netomat.net/account/account.autoSubscribe.jspa?urls=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://www.netomat.net/blogger/images/icon_netomat_feedbutton.gif">Subscribe with netomat Hub</feedburner:feedFlare><feedburner:feedFlare href="http://www.yourminis.com/subscribe.aspx?u=http%3A%2F%2Ffeeds.feedburner.com%2FDesenvolvimentoWebComClasse" src="http://www.yourminis.com/images/addtoyourminisbadge.gif">Subscribe with Yourminis.com</feedburner:feedFlare><item><title>Ubuntu Server 10.10 + Jenkins CI + PHP QA Tools</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/09ZXAdLG5l8/</link> <comments>http://blog.will.eti.br/2012/ubuntu-server-10-10-with-jenkins-ci-and-php-qa-tools/#comments</comments> <pubDate>Thu, 02 Feb 2012 16:35:25 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Artigos]]></category> <category><![CDATA[Continuous Integration]]></category> <category><![CDATA[Desenvolvedor]]></category> <category><![CDATA[Jenkins]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Ubuntu]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=1066</guid> <description><![CDATA[No início do ano passado (Março/2011) disponibilizei a VM de um servidor de integração contínua utilizando Ubuntu Server 10.10 e Jenkins, com (quase) todas ferramentas de QA inclusas, pronto para uso. Para quem já baixou a VM, o usuário e senha para &#8230; <a
href="http://blog.will.eti.br/2012/ubuntu-server-10-10-with-jenkins-ci-and-php-qa-tools/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>No início do ano passado (Março/2011) disponibilizei a VM de um servidor de <strong>integração contínua</strong> utilizando Ubuntu Server 10.10 e Jenkins, com (quase) todas ferramentas de QA inclusas, pronto para uso.</p><p>Para quem já baixou a VM, o <strong>usuário</strong> e <strong>senha</strong> para autenticar-se no Ubuntu é: <strong>jenkins</strong>.<br
/> (Ubuntu user/password: jenkins).</p><p>Para quem ainda não baixou, algumas opções:</p><ol><li>Torrent: <a
title="http://thepiratebay.se/torrent/6264129" href="http://thepiratebay.se/torrent/6264129" target="_blank">http://thepiratebay.se/torrent/6264129</a></li><li>Dropbox (HTTP): <a
title="http://t.co/nfOA9Nb2" href="http://t.co/nfOA9Nb2" target="_blank">http://t.co/nfOA9Nb2</a> (pode ficar temporariamente indisponível devido excesso de tráfego)</li><li>4shared (HTTP): <a
title="http://goo.gl/qT01a" href="http://goo.gl/qT01a" target="_blank">http://goo.gl/qT01a</a> (agradecimentos ao <a
title="http://kassner.com.br/" href="http://kassner.com.br/" target="_blank">Kassner</a> por publicar)</li></ol><p>Após baixar, recomendo executar no terminal:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> update <span style="color: #660033;">--fix-missing</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> \
    <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> dist-upgrade <span style="color: #660033;">-y</span></pre></div></div><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> pear update-channels <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> pear upgrade <span style="color: #660033;">--alldeps</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> pecl update-channels <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> pecl upgrade <span style="color: #660033;">--alldeps</span></pre></div></div><p>&nbsp;</p><p>Configurações Gerais da VM:</p><ul><li>Imagem da VM para Virtualbox;</li><li>Ubuntu Server 10.10 32bits;</li><li>Apache 2;</li><li>Jenkins CI;</li><li>PHP 5.3 (with CLI);</li><li>MySQL 5.1;</li><li>PostgreSQL 8.4;</li></ul><p>Para acessar o Jenkins, basta informar a seguinte URL no navegador:<br
/> <strong>http://<em>{IP}</em>:8080</strong></p><p>Caso não funcione, verifique se o Jenkins está rodando na máquina virtual.<br
/> Caso não esteja, execute o seguinte comando:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">java <span style="color: #660033;">-jar</span> jenkins.war</pre></div></div><p>Os créditos da configuração do Jenkins são do <a
title="Sebastian Bergmann - Template for Jenkins Jobs for PHP Projects" href="http://sebastian-bergmann.de/archives/907-Template-for-Jenkins-Jobs-for-PHP-Projects.html" target="_blank">Sebastian Bergmann</a>, através do <a
title="Template for Jenkins Jobs for PHP Projects" href="http://jenkins-php.org/" target="_blank">Template for Jenkins Jobs for PHP Projects</a>.</p><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2011/firefox-4-no-ubuntu/' rel='bookmark' title='Firefox 4 no Ubuntu'>Firefox 4 no Ubuntu</a></li><li><a
href='http://blog.will.eti.br/2010/instalando-rapidamente-o-php-5-3-1-no-ubuntu-9-10-karmic-koala/' rel='bookmark' title='Instalando rapidamente o PHP 5.3.1 no Ubuntu 9.10 Karmic Koala'>Instalando rapidamente o PHP 5.3.1 no Ubuntu 9.10 Karmic Koala</a></li><li><a
href='http://blog.will.eti.br/2009/gerador-de-source-list-para-o-ubuntu/' rel='bookmark' title='Gerador de Source List para o Ubuntu'>Gerador de Source List para o Ubuntu</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/yLY3wE-i2WjMuJS1BRerZdWkahU/0/da"><img src="http://feedads.g.doubleclick.net/~a/yLY3wE-i2WjMuJS1BRerZdWkahU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/yLY3wE-i2WjMuJS1BRerZdWkahU/1/da"><img src="http://feedads.g.doubleclick.net/~a/yLY3wE-i2WjMuJS1BRerZdWkahU/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2012/ubuntu-server-10-10-with-jenkins-ci-and-php-qa-tools/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2012/ubuntu-server-10-10-with-jenkins-ci-and-php-qa-tools/</feedburner:origLink></item> <item><title>Sobrescrevendo controllers do admin no Magento</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/lVWpP9hmpBM/</link> <comments>http://blog.will.eti.br/2011/sobrescrevendo-controllers-do-admin-no-magento/#comments</comments> <pubDate>Wed, 17 Aug 2011 21:13:30 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Artigos]]></category> <category><![CDATA[Magento]]></category> <category><![CDATA[PHP]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=1053</guid> <description><![CDATA[Para exemplo, utilizarei um módulo chamado Comnisky_Adminhtml, com sua estrutura previamente cadastrada. O caminho deste módulo é app/code/local/Comnisky/Adminhtml/. Edite o arquivo app/code/local/Comnisky/Adminhtml/config.xml, e inclua o conteúdo de forma que fique parecido como abaixo. A parte relevante está entre as tags &#8230; <a
href="http://blog.will.eti.br/2011/sobrescrevendo-controllers-do-admin-no-magento/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Para exemplo, utilizarei um módulo chamado Comnisky_Adminhtml, com sua estrutura previamente cadastrada. O caminho deste módulo é app/code/local/Comnisky/Adminhtml/.</p><p>Edite o arquivo app/code/local/Comnisky/Adminhtml/config.xml, e inclua o conteúdo de forma que fique parecido como abaixo. A parte relevante está entre as tags &lt;routers&gt; e &lt;/routers&gt; dentro de &lt;admin&gt;:</p><div
class="wp_syntax"><div
class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;">&lt; ?xml <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;config<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;modules<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;comnisky_adminhtml<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>1.0.0<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/comnisky_adminhtml<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/modules<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;admin<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;routers<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;adminhtml<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;args<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;modules<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;comnisky_adminhtml</span> <span style="color: #000066;">before</span>=<span style="color: #ff0000;">&quot;Mage_Adminhtml&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Comnisky_Adminhtml<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/comnisky_adminhtml<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/modules<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/args<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/adminhtml<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/routers<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/admin<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/config<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div><p>Copie o arquivo app/code/core/Adminhtml/controllers/Catalog/ProductController.php e cole em app/code/local/Comnisky/Adminhtml/controllers/Catalog/ProductController.php, em seguida edite esse arquivo.</p><p>Adicione o require_once no início do arquivo:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">require_once</span> <span style="color: #0000ff;">'Mage/Adminhtml/controllers/Catalog/ProductController.php'</span><span style="color: #339933;">;</span></pre></div></div><p>E depois estenda da classe do core:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> Comnisky_Adminhtml_Catalog_ProductController <span style="color: #000000; font-weight: bold;">extends</span> Mage_Adminhtml_Catalog_ProductController</pre></div></div><p>Feito isso, basta realizar as customizações nos métodos.</p><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2011/magento-exibindo-sql-de-collection/' rel='bookmark' title='Magento: exibindo SQL de collection'>Magento: exibindo SQL de collection</a></li><li><a
href='http://blog.will.eti.br/2010/svn-checksum-mismatch/' rel='bookmark' title='svn: Checksum mismatch'>svn: Checksum mismatch</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/uzrjdLGolAlGL28qjuoHc6m5oNk/0/da"><img src="http://feedads.g.doubleclick.net/~a/uzrjdLGolAlGL28qjuoHc6m5oNk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/uzrjdLGolAlGL28qjuoHc6m5oNk/1/da"><img src="http://feedads.g.doubleclick.net/~a/uzrjdLGolAlGL28qjuoHc6m5oNk/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2011/sobrescrevendo-controllers-do-admin-no-magento/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2011/sobrescrevendo-controllers-do-admin-no-magento/</feedburner:origLink></item> <item><title>Magento: exibindo SQL de collection</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/eDNCG_gfjJ4/</link> <comments>http://blog.will.eti.br/2011/magento-exibindo-sql-de-collection/#comments</comments> <pubDate>Tue, 09 Aug 2011 12:55:23 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Artigos]]></category> <category><![CDATA[lembrete]]></category> <category><![CDATA[Magento]]></category> <category><![CDATA[PHP]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=1046</guid> <description><![CDATA[Em qualquer classe que estenda de Mage_Core_Model_Mysql4_Collection_Abstract e/ou Varien_Data_Collection_Db é possível visualizar a SQL montada para recuperar essa coleção de registros. Basta fazer um cast para string: var_dump&#40;&#40;string&#41;$collection-&#62;getSelect&#40;&#41;&#41;; Ou sem cast: var_dump&#40;$collection-&#62;getSelect&#40;&#41;-&#62;assemble&#40;&#41;&#41;; Posts relacionados: Sobrescrevendo controllers do admin no Magento]]></description> <content:encoded><![CDATA[<p>Em qualquer classe que estenda de <em>Mage_Core_Model_Mysql4_Collection_Abstract</em> e/ou <em>Varien_Data_Collection_Db</em> é possível visualizar a SQL montada para recuperar essa coleção de registros. Basta fazer um cast para string:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">var_dump</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span><span style="color: #000088;">$collection</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getSelect</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>Ou sem cast:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">var_dump</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$collection</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getSelect</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">assemble</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2011/sobrescrevendo-controllers-do-admin-no-magento/' rel='bookmark' title='Sobrescrevendo controllers do admin no Magento'>Sobrescrevendo controllers do admin no Magento</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/w4kYut9P5LRtAGjVzwb7Maj7bl0/0/da"><img src="http://feedads.g.doubleclick.net/~a/w4kYut9P5LRtAGjVzwb7Maj7bl0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/w4kYut9P5LRtAGjVzwb7Maj7bl0/1/da"><img src="http://feedads.g.doubleclick.net/~a/w4kYut9P5LRtAGjVzwb7Maj7bl0/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2011/magento-exibindo-sql-de-collection/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2011/magento-exibindo-sql-de-collection/</feedburner:origLink></item> <item><title>Visualizando o encoding de arquivos</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/9Kl2QJPRdsY/</link> <comments>http://blog.will.eti.br/2011/visualizando-o-encoding-de-arquivos/#comments</comments> <pubDate>Tue, 02 Aug 2011 00:19:55 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Genérico]]></category> <category><![CDATA[lembrete]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Ubuntu]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=1037</guid> <description><![CDATA[O comando file com a opção -i retorna o MIME type e MIME encoding para o arquivo informado. Em conjunto com os comandos find e grep, é bem útil para encontrar encoding incorreto em arquivos. find ./ -iname '*.php' -type &#8230; <a
href="http://blog.will.eti.br/2011/visualizando-o-encoding-de-arquivos/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>O comando <em>file</em> com a opção <em>-i</em> retorna o MIME type e MIME encoding para o arquivo informado.</p><p>Em conjunto com os comandos <em>find</em> e <em>grep</em>, é bem útil para encontrar encoding incorreto em arquivos.</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> .<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-iname</span> <span style="color: #ff0000;">'*.php'</span> <span style="color: #660033;">-type</span> f <span style="color: #660033;">-exec</span> <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #660033;">-i</span> <span style="color: #ff0000;">'{}'</span> \; <span style="color: #000000; font-weight: bold;">|</span>
   \ <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-v</span> <span style="color: #ff0000;">&quot;utf&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span></pre></div></div><p><strong>Update 06/08/2011</strong>: corrigido. Estava faltando o &#8216;pipe&#8217; antes do <em>grep</em>.</p><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2010/limpando-os-logs-no-ubuntu/' rel='bookmark' title='Limpando os logs no Ubuntu'>Limpando os logs no Ubuntu</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/DQU52o98gibqRwnWsprR9MaWSKQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/DQU52o98gibqRwnWsprR9MaWSKQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/DQU52o98gibqRwnWsprR9MaWSKQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/DQU52o98gibqRwnWsprR9MaWSKQ/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2011/visualizando-o-encoding-de-arquivos/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2011/visualizando-o-encoding-de-arquivos/</feedburner:origLink></item> <item><title>Vaga para Administrador de Servidores em Balneário Camboriú</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/Chwj9_iTquY/</link> <comments>http://blog.will.eti.br/2011/vaga-admin-servidores-balneario-camboriu/#comments</comments> <pubDate>Wed, 25 May 2011 00:10:56 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Emprego]]></category> <category><![CDATA[Carreira]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Oportunidade]]></category> <category><![CDATA[Santa Catarina]]></category> <category><![CDATA[SC]]></category> <category><![CDATA[Segurança]]></category> <category><![CDATA[Software Livre]]></category> <category><![CDATA[Vaga]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=998</guid> <description><![CDATA[A Imóvel PRO está com uma vaga em aberto para Administrador de Servidores. SOBRE A INFRA-ESTRUTURA ATUAL E AS TAREFAS A SEREM EXECUTADAS A infra-estrutura da empresa é composta por vários servidores que têm, como objetivo principal, manter a performance &#8230; <a
href="http://blog.will.eti.br/2011/vaga-admin-servidores-balneario-camboriu/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>A Imóvel PRO está com uma vaga em aberto para Administrador de Servidores.</p><p><span
style="color: #000000; font-size: 18px; line-height: 27px;">SOBRE A INFRA-ESTRUTURA ATUAL E AS TAREFAS A SEREM EXECUTADAS</span></p><p>A infra-estrutura da empresa é composta por vários servidores que têm, como objetivo principal, manter a performance e estabilidade dos serviços oferecidos: Servidor Web, Banco de Dados, DNS, E-mails e etc.</p><p>90% da infra-estrutura está hospedada em Cloud Computing, em Data Centers externos.</p><p>A infra-estrutura interna compreende, principalmente, Servidores de Desenvolvimento, Homologação, Backups e Intranet.</p><p>O profissional requisitado será o responsável técnico pela infra-estrutura da empresa.</p><p>Caberá ao profissional a manutenção do serviço, bem como a pesquisa, desenvolvimento e implementação de melhorias e novas tecnologias.</p><p><span
style="color: #000000; font-size: 18px; line-height: 27px;">REQUISITOS DA VAGA</span></p><ul><li>Experiência em administração de Servidores Unix (Linux e/ou FreeBSD)</li><li>Experiência em administração de Servidores Web</li><li>Desejável experiência com Servidores de E-mail</li><li>Desejável conhecimento em programação Shell script</li><li>Inglês Intermediário: Leitura e escrita, sem maiores dificuldades</li></ul><p><span
style="color: #000000; font-size: 18px; line-height: 27px;">SERÁ CONSIDERADO UM PLUS</span></p><ul><li>Experiência com Servidores DNS</li><li>Experiência com Servidores Java</li><li>Experiência com Cloud Computing</li><li>Conhecimentos em Desenvolvimento Web</li></ul><p><span
style="color: #000000; font-size: 18px; line-height: 27px;">COMPETÊNCIAS COMPORTAMENTAIS DESEJÁVEIS</span></p><ul><li>Pró-atividade</li><li>Organização</li><li>Comprometimento e responsabilidade</li><li>Bom relacionamento interpessoal</li></ul><p><span
style="color: #000000; font-size: 18px; line-height: 27px;">A EMPRESA OFERECE</span></p><ul><li>Remuneração compatível com a função</li><li>Vale transporte</li><li>Plano de saúde integral</li><li>Biblioteca própria</li><li>Bom ambiente de trabalho</li><li>Incentivos para cursos, palestras, congressos e etc.</li><li>Excelente oportunidade para quem gosta de trabalhar com tecnologia de ponta: Cloud Computing, Alta Disponibilidade, Fail Over, Escalabilidade e etc.</li></ul><p><span
style="color: #000000; font-size: 18px; line-height: 27px;">CONSIDERAÇÕES FINAIS SOBRE A VAGA</span></p><ul><li>Trabalho presencial (Balneário Camboriú – <acronym
title="Santa Catarina">SC</acronym>)</li><li>Contratação em regime CLT</li></ul><p>Caso você não conheça todas as tecnologias citadas acima, mas tenha o perfil profissional de pró-atividade, pesquisa e desenvolvimento, envie-nos seu currículo.</p><p>Buscamos profissionais auto-didatas, que gostem de pesquisar, desenvolver e implementar novas soluções.</p><p>Profissionais com iniciativa própria. Que não esperem ser cobrados, mas que cobrem de si mesmos, infra-estrutura e serviços de qualidade.</p><p>Profissionais que busquem e assumam a responsabilidade de uma infra-estrutura de qualidade para atender milhares de clientes.</p><p><span
style="color: #000000; font-size: 18px; line-height: 27px;">SOBRE A EMPRESA</span></p><p>A Imóvel PRO é uma empresa de tecnologia especializada em Desenvolvimento Web para o mercado imobiliário.</p><p>Possui sede em Balneário Camboriú, Santa Catarina, e foco em desenvolvimento de soluções de alta qualidade.</p><p>Os principais produtos da empresa são:</p><p>Sites para imobiliárias. Alguns clientes:</p><ul><li><a
href="http://www.ejb.com.br" rel="nofollow" target="_blank">EJB Corretora de Imóveis</a></li><li><a
href="http://www.capistranoimoveis.com.br" rel="nofollow" target="_blank">Capistrano Imóveis</a></li><li><a
href="http://www.sheilanolasco.com.br" rel="nofollow" target="_blank">Sheila Nolasco Imóveis</a></li><li><a
href="http://www.casanobreimobiliaria.com" rel="nofollow" target="_blank">Imobiliária Casa Nobre</a></li></ul><p>Portais para redes de imobiliárias. Alguns clientes:</p><ul><li><a
href="http://www.redeimoveisbc.com.br" rel="nofollow" target="_blank">Rede Imóveis BC</a></li></ul><p>Portais de cidades. Alguns portais:</p><ul><li><a
href="http://www.portaldeimoveis.com.br" rel="nofollow" target="_blank">Portal de Imóveis</a></li><li><a
href="http://www.portaldeimoveissalvador.com.br" rel="nofollow" target="_blank">Portal de Imóveis Salvador</a></li><li><a
href="http://www.portaldeimoveiscamboriu.com.br" rel="nofollow" target="_blank">Portal de Imóveis Camboriú</a></li><li><a
href="http://www.portaldeimoveisrio.com.br" rel="nofollow" target="_blank">Portal de Imóveis Rio de Janeiro</a></li><li><a
href="http://www.portaldeimoveisitapema.com.br" rel="nofollow" target="_blank">Portal de Imóveis Itapema</a></li><li><a
href="http://www.acesseimoveis.com.br" rel="nofollow" target="_blank">Acesse Imóveis</a></li></ul><p><span
style="color: #000000; font-size: 18px; line-height: 27px;">CONTATO</span></p><p>Quer fazer parte dessa equipe?<br
/> Envie seu currículo para <strong>rh(arroba)imovelpro.com.br</strong></p> <script type="text/javascript">bb_keywords = "linux";
            bb_bid  = "9683";
            bb_lang = "pt-BR";
            bb_name = "custom";bb_limit = "1";bb_format = "bbf";</script> <script type="text/javascript" src="http://widgets.boo-box.com/javascripts/embed.js"></script> <p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2011/vaga-para-desenvolvedor-php-oracle-em-balneario-camboriu-sc/' rel='bookmark' title='Vaga para desenvolvedor PHP + Oracle em Balneário Camboriú &#8211; SC'>Vaga para desenvolvedor PHP + Oracle em Balneário Camboriú &#8211; SC</a></li><li><a
href='http://blog.will.eti.br/2010/vaga-desenvolvedor-senior-balneario-camboriu/' rel='bookmark' title='Vaga para desenvolvedor sênior em Balneário Camboriú &#8211; SC'>Vaga para desenvolvedor sênior em Balneário Camboriú &#8211; SC</a></li><li><a
href='http://blog.will.eti.br/2009/vaga-para-desenvolvedor-web-em-balneario-camboriu-sc/' rel='bookmark' title='Vaga para Desenvolvedor Web em Balneário Camboriú &#8211; SC'>Vaga para Desenvolvedor Web em Balneário Camboriú &#8211; SC</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/2nso0FGWW27vz8FUIjyZt5D_2AE/0/da"><img src="http://feedads.g.doubleclick.net/~a/2nso0FGWW27vz8FUIjyZt5D_2AE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/2nso0FGWW27vz8FUIjyZt5D_2AE/1/da"><img src="http://feedads.g.doubleclick.net/~a/2nso0FGWW27vz8FUIjyZt5D_2AE/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2011/vaga-admin-servidores-balneario-camboriu/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2011/vaga-admin-servidores-balneario-camboriu/</feedburner:origLink></item> <item><title>Firefox 4 no Ubuntu</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/R6bQPaIIRyE/</link> <comments>http://blog.will.eti.br/2011/firefox-4-no-ubuntu/#comments</comments> <pubDate>Tue, 22 Mar 2011 23:25:16 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Artigos]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Software Livre]]></category> <category><![CDATA[Ubuntu]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=994</guid> <description><![CDATA[sudo add-apt-repository ppa:mozillateam/firefox-stable sudo apt-get update Depois, caso já tenha o Firefox: sudo apt-get dist-upgrade Caso contrário: sudo apt-get install firefox Posts relacionados: Instalando rapidamente o PHP 5.3.1 no Ubuntu 9.10 Karmic Koala Ubuntu Server 10.10 + Jenkins CI + &#8230; <a
href="http://blog.will.eti.br/2011/firefox-4-no-ubuntu/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> add-apt-repository ppa:mozillateam<span style="color: #000000; font-weight: bold;">/</span>firefox-stable
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> update</pre></div></div><p>Depois, caso já tenha o Firefox:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> dist-upgrade</pre></div></div><p>Caso contrário:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> firefox</pre></div></div><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2010/instalando-rapidamente-o-php-5-3-1-no-ubuntu-9-10-karmic-koala/' rel='bookmark' title='Instalando rapidamente o PHP 5.3.1 no Ubuntu 9.10 Karmic Koala'>Instalando rapidamente o PHP 5.3.1 no Ubuntu 9.10 Karmic Koala</a></li><li><a
href='http://blog.will.eti.br/2012/ubuntu-server-10-10-with-jenkins-ci-and-php-qa-tools/' rel='bookmark' title='Ubuntu Server 10.10 + Jenkins CI + PHP QA Tools'>Ubuntu Server 10.10 + Jenkins CI + PHP QA Tools</a></li><li><a
href='http://blog.will.eti.br/2009/gerador-de-source-list-para-o-ubuntu/' rel='bookmark' title='Gerador de Source List para o Ubuntu'>Gerador de Source List para o Ubuntu</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/O1miuCOL5bN7iCMWXxYDX-Ykfzk/0/da"><img src="http://feedads.g.doubleclick.net/~a/O1miuCOL5bN7iCMWXxYDX-Ykfzk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/O1miuCOL5bN7iCMWXxYDX-Ykfzk/1/da"><img src="http://feedads.g.doubleclick.net/~a/O1miuCOL5bN7iCMWXxYDX-Ykfzk/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2011/firefox-4-no-ubuntu/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2011/firefox-4-no-ubuntu/</feedburner:origLink></item> <item><title>Diferença entre duas revisions no SVN</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/OANDXJZNZGo/</link> <comments>http://blog.will.eti.br/2011/diferenca-entre-duas-revisions-no-svn/#comments</comments> <pubDate>Fri, 11 Mar 2011 18:02:23 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Artigos]]></category> <category><![CDATA[lembrete]]></category> <category><![CDATA[Subversion]]></category> <category><![CDATA[SVN]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=982</guid> <description><![CDATA[Muito útil para obter todos arquivos modificados em um branch, por exemplo: svn diff -r 472:HEAD --summarize ./ O branch foi criado na revision 472, e como não temos desenvolvimento no trunk atualmente, peguei as alterações entre 472 e HEAD. &#8230; <a
href="http://blog.will.eti.br/2011/diferenca-entre-duas-revisions-no-svn/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Muito útil para obter todos arquivos modificados em um branch, por exemplo:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">diff</span> <span style="color: #660033;">-r</span> <span style="color: #000000;">472</span>:HEAD <span style="color: #660033;">--summarize</span> .<span style="color: #000000; font-weight: bold;">/</span></pre></div></div><p>O branch foi criado na revision 472, e como não temos desenvolvimento no trunk atualmente, peguei as alterações entre 472 e HEAD. No lugar de HEAD pode ser o número de outra revision.</p><p>O retorno do comando acima é parecido com o conteúdo abaixo:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">M       PHP<span style="color: #000000; font-weight: bold;">/</span>include<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>Form.inc.php
M       PHP<span style="color: #000000; font-weight: bold;">/</span>include<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>Detail.inc.php
A       PHP<span style="color: #000000; font-weight: bold;">/</span>html<span style="color: #000000; font-weight: bold;">/</span>js<span style="color: #000000; font-weight: bold;">/</span>jquery.maskedinput-1.2.2.min.js
M       PHP<span style="color: #000000; font-weight: bold;">/</span>html<span style="color: #000000; font-weight: bold;">/</span>js<span style="color: #000000; font-weight: bold;">/</span>teclas_atalho.js
A       PHP<span style="color: #000000; font-weight: bold;">/</span>html<span style="color: #000000; font-weight: bold;">/</span>service<span style="color: #000000; font-weight: bold;">/</span>ajax<span style="color: #000000; font-weight: bold;">/</span>addFaixaCep.php
A       PHP<span style="color: #000000; font-weight: bold;">/</span>html<span style="color: #000000; font-weight: bold;">/</span>service<span style="color: #000000; font-weight: bold;">/</span>ajax<span style="color: #000000; font-weight: bold;">/</span>isCepAtendido.php
A       PHP<span style="color: #000000; font-weight: bold;">/</span>html<span style="color: #000000; font-weight: bold;">/</span>service<span style="color: #000000; font-weight: bold;">/</span>ajax<span style="color: #000000; font-weight: bold;">/</span>getCidades.php
A       PHP<span style="color: #000000; font-weight: bold;">/</span>html<span style="color: #000000; font-weight: bold;">/</span>service<span style="color: #000000; font-weight: bold;">/</span>ajax<span style="color: #000000; font-weight: bold;">/</span>getRegioes.php
A       PHP<span style="color: #000000; font-weight: bold;">/</span>html<span style="color: #000000; font-weight: bold;">/</span>service<span style="color: #000000; font-weight: bold;">/</span>ajax<span style="color: #000000; font-weight: bold;">/</span>removeFaixaCep.php
A       PHP<span style="color: #000000; font-weight: bold;">/</span>html<span style="color: #000000; font-weight: bold;">/</span>service<span style="color: #000000; font-weight: bold;">/</span>ajax<span style="color: #000000; font-weight: bold;">/</span>getCliente.php
A       PHP<span style="color: #000000; font-weight: bold;">/</span>html<span style="color: #000000; font-weight: bold;">/</span>service<span style="color: #000000; font-weight: bold;">/</span>ajax<span style="color: #000000; font-weight: bold;">/</span>createPedido.php
A       PHP<span style="color: #000000; font-weight: bold;">/</span>html<span style="color: #000000; font-weight: bold;">/</span>service<span style="color: #000000; font-weight: bold;">/</span>ajax
M       PHP<span style="color: #000000; font-weight: bold;">/</span>html<span style="color: #000000; font-weight: bold;">/</span>gestao<span style="color: #000000; font-weight: bold;">/</span>default<span style="color: #000000; font-weight: bold;">/</span>css<span style="color: #000000; font-weight: bold;">/</span>gerenciamento.css
A       PHP<span style="color: #000000; font-weight: bold;">/</span>html<span style="color: #000000; font-weight: bold;">/</span>gestao<span style="color: #000000; font-weight: bold;">/</span>cadastro<span style="color: #000000; font-weight: bold;">/</span>rota_entrega_det.php</pre></div></div><p>Outros comandos que utilizei em conjunto:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">diff</span> <span style="color: #660033;">-r</span> <span style="color: #000000;">472</span>:HEAD <span style="color: #660033;">--summarize</span> .<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-c9-</span> <span style="color: #000000; font-weight: bold;">|</span> \
    <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-E</span> <span style="color: #ff0000;">&quot;\.\w+$&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> \
    <span style="color: #c20cb9; font-weight: bold;">xargs</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">--parents</span> <span style="color: #660033;">-r</span> <span style="color: #660033;">-t</span> \
    <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>william.comnisky<span style="color: #000000; font-weight: bold;">/</span>Desktop<span style="color: #000000; font-weight: bold;">/</span>Melhorias<span style="color: #000000; font-weight: bold;">/</span></pre></div></div><p><strong>Update 22/08/201</strong>1: como sugestão do <a
href="http://www.twitter.com/@lepkoski" title="@lepkoski" target="_blank">@lepkoski</a>, adicionei o grep acima, evitando copiar todos arquivos do diretório incorretamente.</p><p>A partir do retorno mostrado acima, com o <strong>cut</strong> ignoro o status do arquivo no SVN e elimino os espaços em brancos com &#8220;-c9-&#8221;, ou seja, a partir do nono caractere em diante. Feito isso, utilizo o <strong>cp</strong> em conjunto com o <strong>xargs</strong> para copiar os arquivos com a mesma estrutura de diretórios para um novo diretório.</p><p><strong>Importante:</strong> eu não estou considerando os status do SVN pois só terei adições e modificações de arquivos e diretórios. Porém, se na diferença entre revisões tiver alguma exclusão, é importante levar o status em consideração.</p><p>Tendo a estrutura montada nesse novo diretório, utilizo o <strong>ls</strong> em conjunto com o <strong>egrep</strong></p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">--format</span>=single-column <span style="color: #660033;">-R</span> \
    <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>william.comnisky<span style="color: #000000; font-weight: bold;">/</span>Desktop<span style="color: #000000; font-weight: bold;">/</span>Melhorias<span style="color: #000000; font-weight: bold;">/</span> \
    <span style="color: #660033;">-F</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">egrep</span> <span style="color: #ff0000;">&quot;[^/]$&quot;</span></pre></div></div><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2008/configurando-um-ambiente-para-desenvolvimento-web-com-php/' rel='bookmark' title='Configurando um ambiente para desenvolvimento web com PHP'>Configurando um ambiente para desenvolvimento web com PHP</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/Iwkx35fQyFt2U6Z6uNytGX2Nz9c/0/da"><img src="http://feedads.g.doubleclick.net/~a/Iwkx35fQyFt2U6Z6uNytGX2Nz9c/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Iwkx35fQyFt2U6Z6uNytGX2Nz9c/1/da"><img src="http://feedads.g.doubleclick.net/~a/Iwkx35fQyFt2U6Z6uNytGX2Nz9c/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2011/diferenca-entre-duas-revisions-no-svn/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2011/diferenca-entre-duas-revisions-no-svn/</feedburner:origLink></item> <item><title>Depuração rápida com ZF+FirePHP</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/5FJr1lQcyS8/</link> <comments>http://blog.will.eti.br/2011/depuracao-rapida-com-zf-e-firephp/#comments</comments> <pubDate>Tue, 22 Feb 2011 13:16:50 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Artigos]]></category> <category><![CDATA[Aplicações Web]]></category> <category><![CDATA[Framework]]></category> <category><![CDATA[lembrete]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Zend Framework]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=976</guid> <description><![CDATA[Abaixo, como depurar conteúdo no Zend Framework + FirePHP (Firebug) em apenas uma linha de código: Zend_Wildfire_Plugin_FirePhp::send&#40;$var, $label, $style&#41;; Exemplo: Zend_Wildfire_Plugin_FirePhp::send &#40; $this-&#62;Pessoa-&#62;id, 'Pessoa-&#62;id', Zend_Wildfire_Plugin_FirePhp::DUMP &#41;; Posts relacionados: Surviving the deep end]]></description> <content:encoded><![CDATA[<p>Abaixo, como depurar conteúdo no Zend Framework + FirePHP (Firebug) em apenas uma linha de código:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;">Zend_Wildfire_Plugin_FirePhp<span style="color: #339933;">::</span><span style="color: #004000;">send</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$var</span><span style="color: #339933;">,</span> <span style="color: #000088;">$label</span><span style="color: #339933;">,</span> <span style="color: #000088;">$style</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>Exemplo:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;">Zend_Wildfire_Plugin_FirePhp<span style="color: #339933;">::</span><span style="color: #004000;">send</span>
<span style="color: #009900;">&#40;</span>
    <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Pessoa</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">id</span><span style="color: #339933;">,</span>
    <span style="color: #0000ff;">'Pessoa-&gt;id'</span><span style="color: #339933;">,</span>
    Zend_Wildfire_Plugin_FirePhp<span style="color: #339933;">::</span><span style="color: #004000;">DUMP</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2009/surviving-the-deep-end/' rel='bookmark' title='Surviving the deep end'>Surviving the deep end</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/JW4oWVd9IVTdv_NPpZ0b8Vo3ezQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/JW4oWVd9IVTdv_NPpZ0b8Vo3ezQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/JW4oWVd9IVTdv_NPpZ0b8Vo3ezQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/JW4oWVd9IVTdv_NPpZ0b8Vo3ezQ/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2011/depuracao-rapida-com-zf-e-firephp/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2011/depuracao-rapida-com-zf-e-firephp/</feedburner:origLink></item> <item><title>Vaga para desenvolvedor PHP + Oracle em Balneário Camboriú – SC</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/FHFbzfqepq0/</link> <comments>http://blog.will.eti.br/2011/vaga-para-desenvolvedor-php-oracle-em-balneario-camboriu-sc/#comments</comments> <pubDate>Mon, 14 Feb 2011 13:08:27 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Emprego]]></category> <category><![CDATA[Carreira]]></category> <category><![CDATA[Desenvolvedor]]></category> <category><![CDATA[Oportunidade]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Programador]]></category> <category><![CDATA[Santa Catarina]]></category> <category><![CDATA[SC]]></category> <category><![CDATA[Vaga]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=970</guid> <description><![CDATA[A Videosoft &#8211; Soluções Inteligentes em Tecnologia contrata desenvolvedor para trabalhar na sua sede, em Balneário Camboriú, SC. A empresa atua em diversos ramos como: software de autoatendimento, supermercados, videolocadoras e previdência social, e utiliza tecnologias diversas como: Linux, Java, &#8230; <a
href="http://blog.will.eti.br/2011/vaga-para-desenvolvedor-php-oracle-em-balneario-camboriu-sc/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>A <a
href="http://www.videosoft.com.br">Videosoft &#8211; Soluções Inteligentes em Tecnologia</a> contrata desenvolvedor para trabalhar na sua sede, em <a
title="Balneário Camboriú - Santa Catarina" href="http://pt.wikipedia.org/wiki/Balne%C3%A1rio_Cambori%C3%BA">Balneário Camboriú, <acronym
title="Santa Catarina">SC</acronym></a>.</p><p>A empresa atua em diversos ramos como: software de autoatendimento, supermercados, videolocadoras e previdência social, e utiliza tecnologias diversas como: Linux, Java, PHP (<acronym
title="Zend Framework">ZF</acronym>, Doctrine, Symfony), C++, Oracle, MySQL, PostgreSQL, etc.<br
/> <span
id="more-970"></span><br
/> Além da alta qualidade de vida oferecida pela cidade, a empresa tem um ótimo ambiente de trabalho &#8211; amplo e climatizado, com uma grande e experiente equipe de desenvolvimento, testes, infra e suporte.</p><p>Realizamos tech talks sobre assuntos diversos de <acronym
title="Tecnologia da Informação">TI</acronym>, sugeridos e votados pela equipe, e às vezes coding dojos (em PHP e Java). Além disso, a empresa incentiva o crescimento através da valorização por formação, onde o profissional que &#8211;após sua contratação&#8211; obter uma certificação ou graduação (dentre uma lista pré-definida) recebe um aumento salarial.</p><p>O futebol rola às quintas-feira às 22h, e o happy hour normalmente é à beiramar! <img
src='http://blog.will.eti.br/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p><strong><em>SOBRE A VAGA</em></strong></p><p><strong>Requisitos:</strong></p><ul><li>PHP 5</li><li><a
title="Object-oriented programming" href="http://en.wikipedia.org/wiki/Object-oriented_programming"><acronym
title="Object-oriented programming - programação orientada a objetos">OOP</acronym></a></li><li><a
title="Model–view–controller" href="http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller"><acronym
title="Model-view-controller - padrão de projeto modelo-visão-controle">MVC</acronym></a></li><li>Oracle Database</li></ul><p><strong>Diferenciais:</strong></p><ul><li>Design Patterns</li><li>Oracle Advanced Queuing</li><li>Oracle BPEL Process Manager</li><li>PostgreSQL</li><li>Java</li><li>Inglês</li></ul><p><strong>Imprescindível:</strong></p><ul><li>Interesse em aprendizado contínuo</li><li>Proatividade</li></ul><p><strong>Características da vaga:</strong></p><ul><li>Forma de contratação: CLT</li><li>Salário: de acordo com a experiência</li><li>Carga horária: 44h/semana &#8211; com opções de horários, inclusive com folga aos sábados</li><li>Horário flexível</li><li>Plano de saúde</li><li>Empresa preocupada no desenvolvimento do profissional</li></ul><p>Se interessou? Faça parte de nossa equipe!<br
/> Envie um e-mail para Romulo Nunes (CIO): <a
href="mailto:romulo@videosoft.com.br">romulo@videosoft.com.br</a> com seu currículo.</p><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2009/vaga-para-desenvolvedor-web-em-balneario-camboriu-sc/' rel='bookmark' title='Vaga para Desenvolvedor Web em Balneário Camboriú &#8211; SC'>Vaga para Desenvolvedor Web em Balneário Camboriú &#8211; SC</a></li><li><a
href='http://blog.will.eti.br/2010/vaga-desenvolvedor-senior-balneario-camboriu/' rel='bookmark' title='Vaga para desenvolvedor sênior em Balneário Camboriú &#8211; SC'>Vaga para desenvolvedor sênior em Balneário Camboriú &#8211; SC</a></li><li><a
href='http://blog.will.eti.br/2011/vaga-admin-servidores-balneario-camboriu/' rel='bookmark' title='Vaga para Administrador de Servidores em Balneário Camboriú'>Vaga para Administrador de Servidores em Balneário Camboriú</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/2AYuNDlEdpqYmETMOf8Z_qHiwHw/0/da"><img src="http://feedads.g.doubleclick.net/~a/2AYuNDlEdpqYmETMOf8Z_qHiwHw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/2AYuNDlEdpqYmETMOf8Z_qHiwHw/1/da"><img src="http://feedads.g.doubleclick.net/~a/2AYuNDlEdpqYmETMOf8Z_qHiwHw/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2011/vaga-para-desenvolvedor-php-oracle-em-balneario-camboriu-sc/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2011/vaga-para-desenvolvedor-php-oracle-em-balneario-camboriu-sc/</feedburner:origLink></item> <item><title>Free Web Proxy</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/yOubxlgtENM/</link> <comments>http://blog.will.eti.br/2011/free-web-proxy/#comments</comments> <pubDate>Sat, 05 Feb 2011 12:53:04 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Genérico]]></category> <category><![CDATA[lembrete]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=963</guid> <description><![CDATA[Web proxy gratuito e funcional, bom para testar requisições à um servidor web atrás de uma ADSL com redirecionamento de portas: http://www.freewebproxy.net/ * post do tipo &#8220;notal mental&#8221;]]></description> <content:encoded><![CDATA[<p>Web proxy gratuito e funcional, bom para testar requisições à um servidor web atrás de uma ADSL com redirecionamento de portas:</p><ul><li><a
href="http://www.freewebproxy.net/" target="_blank">http://www.freewebproxy.net/</a></li></ul><p>* post do tipo <em>&#8220;</em><em>notal mental&#8221;</em></p>
<p><a href="http://feedads.g.doubleclick.net/~a/y66eF1GMhLiUyxlljh2wHXIeG-8/0/da"><img src="http://feedads.g.doubleclick.net/~a/y66eF1GMhLiUyxlljh2wHXIeG-8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/y66eF1GMhLiUyxlljh2wHXIeG-8/1/da"><img src="http://feedads.g.doubleclick.net/~a/y66eF1GMhLiUyxlljh2wHXIeG-8/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2011/free-web-proxy/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2011/free-web-proxy/</feedburner:origLink></item> <item><title>Highlight sem filtrar no grep</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/xwA26XgMdC8/</link> <comments>http://blog.will.eti.br/2011/highlight-sem-filtrar-no-grep/#comments</comments> <pubDate>Tue, 04 Jan 2011 22:00:10 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Artigos]]></category> <category><![CDATA[lembrete]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Ubuntu]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=957</guid> <description><![CDATA[Útil quando precisa encontrar uma palavra (ou parte dela), marcando-a, porém sem filtrar o resultado. history &#124; egrep --color 'user&#124;$' Posts relacionados: Diferença entre duas revisions no SVN Aumente sua produtividade: teclas de atalho no Eclipse PDT]]></description> <content:encoded><![CDATA[<p>Útil quando precisa encontrar uma palavra (ou parte dela), marcando-a, porém sem filtrar o resultado.</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">history</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">egrep</span> <span style="color: #660033;">--color</span> <span style="color: #ff0000;">'user|$'</span></pre></div></div><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2011/diferenca-entre-duas-revisions-no-svn/' rel='bookmark' title='Diferença entre duas revisions no SVN'>Diferença entre duas revisions no SVN</a></li><li><a
href='http://blog.will.eti.br/2009/aumente-sua-produtividade-teclas-de-atalho-no-eclipse-pdt/' rel='bookmark' title='Aumente sua produtividade: teclas de atalho no Eclipse PDT'>Aumente sua produtividade: teclas de atalho no Eclipse PDT</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/QjXCQmyVuLViT3R9fK5Tx6YokXE/0/da"><img src="http://feedads.g.doubleclick.net/~a/QjXCQmyVuLViT3R9fK5Tx6YokXE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/QjXCQmyVuLViT3R9fK5Tx6YokXE/1/da"><img src="http://feedads.g.doubleclick.net/~a/QjXCQmyVuLViT3R9fK5Tx6YokXE/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2011/highlight-sem-filtrar-no-grep/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2011/highlight-sem-filtrar-no-grep/</feedburner:origLink></item> <item><title>Meu ambiente de trabalho em 7 itens</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/BmR0fe1Pl48/</link> <comments>http://blog.will.eti.br/2011/meu-ambiente-de-trabalho-em-7-itens/#comments</comments> <pubDate>Tue, 04 Jan 2011 00:13:41 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Genérico]]></category> <category><![CDATA[Desenvolvedor]]></category> <category><![CDATA[Doctrine]]></category> <category><![CDATA[Eclipse PDT]]></category> <category><![CDATA[GIT]]></category> <category><![CDATA[IDE]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Plugin]]></category> <category><![CDATA[Subversion]]></category> <category><![CDATA[SVN]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Zend Framework]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=934</guid> <description><![CDATA[Indicado pelo Fernando Mantoan &#8211; e uma semana atrasado - dou continuidade ao meme &#8220;Seu ambiente de trabalho em 7 itens&#8221; (leia as regras) criado pelo Anderson Casimiro (aka @duodraco / PHP-SP). Ubuntu Maverick Meerkat 10.10 Depois de experimentar vários sabores (desde &#8230; <a
href="http://blog.will.eti.br/2011/meu-ambiente-de-trabalho-em-7-itens/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a
title="@fernandomantoan" href="http://twitter.com/#!/fernandomantoan/statuses/19520758187294721" target="_blank">Indicado</a> pelo <a
title="Fernando Mantoan" href="http://fernandomantoan.com/" target="_blank">Fernando Mantoan</a> &#8211; e uma semana atrasado - dou continuidade ao meme &#8220;<strong><a
title="Seu ambiente de trabalho em 7 itens" href="http://duodra.co/post/seu-ambiente-de-trabalho-em-7-itens/" target="_blank">Seu ambiente de trabalho em 7 itens</a></strong>&#8221; (<a
title="Seu ambiente de trabalho em 7 itens" href="http://duodra.co/post/seu-ambiente-de-trabalho-em-7-itens/" target="_blank">leia as regras</a>) criado pelo <a
title="Anderson Casimiro aka Duodraco" href="http://duodra.co/" target="_blank">Anderson Casimiro</a> (aka <a
title="@duodraco" href="http://twitter.com/duodraco">@duodraco</a> / PHP-SP).</p><ol><li><strong>Ubuntu Maverick Meerkat 10.10</strong><br
/> Depois de experimentar vários sabores (desde ArchLinux, passando por Fedora, Linux Mint, Debian, Kubuntu), optei pela praticidade do <a
class="bbli" href="http://sledge.boo-box.com/list/page/VWJ1bnR1XyMjX2JveF8jI190YWdnaW5nLXRvb2wtd3BfIyNfOTY4Mw==-56">Ubuntu<img
class="bbic" src="http://boo-box.com/bbli" alt="[bb]" /></a>.</li><li><strong>Eclipse Helios 3.6.1 + <acronym
title="PHP Development Tool">PDT</acronym> 2.2.1<br
/> </strong>Quando comecei a programar, utilizava editores (como PHPEditor, PSPad, Notepad++), mas depois que comecei a usar o Eclipse, não deixei mais de usar a <acronym
title="Integrated Development Environment - Um ambiente integrado para desenvolvimento de software">IDE</acronym>. Apesar de ser um real memory eater, não tenho problemas com isso (8Gb #win) e possui inúmeros plugins (desde controle de versão ao SoapUI &#8211; pra trabalhar com webservices é muito bom).</li><li><strong>Subversion</strong><br
/> Até hoje pelo menos, o SVN ainda é meu controle de versão oficial. Aliado ao Eclipse, utilizo o plugin Subversive. Antes utilizava o Subclipse, mas começou a apresentar pequenos problemas. O atual parece ser mais estável. Disse que &#8220;<em>ainda</em>&#8221; é meu controle de versão pelo fato de que tivemos hoje um TechTalk na Videosoft, com o <a
title="Rafael Kassner" href="http://kassner.com.br/" target="_blank">Kassner</a> (aka <a
title="@kassner" href="http://twitter.com/kassner" target="_blank">@fokner</a>) apresentando o <a
title="Mercurial (hg)" href="http://mercurial.selenic.com/" target="_blank">Mercurial</a>. É uma opção ao lado do GIT.</li><li><strong>Meld 1.3.2</strong><br
/> Quando as coisas não vão tão bem nos merges do SVN, faço do Meld minha mais poderosa ferramenta. Ideal para comparações de <em>arquivo x arquivo</em>, porém sabe lidar bem com comparações entre diretórios também (como era de se esperar de uma boa ferramenta de comparação). Leve, rápida e de fácil instalação (<em>sudo apt-get install meld</em>).</li><li><strong>Audacious2</strong><br
/> Já fui fã do Amarok, mas manter todas aquelas porcarias do KDE no Gnome não era vantagem. O que conta mesmo no player é a playlist e os globals shortcuts <img
src='http://blog.will.eti.br/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></li><li><strong>Zend Framework + Doctrine</strong><br
/> Já utilizei o Symfony e Propel, mas comparando ao <acronym
title="Zend Framework">ZF</acronym> + Doctrine&#8230; na verdade não há comparação pra mim (já não posso continuar afirmando o mesmo sobre o Symfony 2, pois não usei).  Continuo utilizando o Doctrine 1.2, mas já &#8216;pensando no futuro&#8217;. Depois que o cara começa a utilizar um bom ORM, dificilmente deixará de utilizá-lo, como é o meu caso com o Doctrine.</li><li><strong>PHPUnit</strong><br
/> TDD com PHP é o assunto do meu (atrasado e postergado) artigo da pós, e o PHPUnit é o framework de minha preferência para testes. No <acronym
title="Laboratório de Computação Aplicada - Univali">G10</acronym> tivemos uma boa experiência do Bromine + Selenium <acronym
title="Integrated Development Environment - Um ambiente integrado para desenvolvimento de software">IDE</acronym> + PHPUnit , mas tenho ciência que ainda há muitos conceitos a serem estudados e técnicas a serem entendidas.</li></ol><p>E os escolhidos da vez são:</p><ul><li><a
title="Cumpadi" href="http://blog.andersonstraube.com/" target="_blank">Anderson Straube</a>;</li><li><a
title="@gadonski" href="http://blog.redel.com.br/andre/" target="_blank">André Gadonski</a>;</li><li><a
title="Ubald" href="http://ibaldo.com.br/" target="_blank">Filipe Ibaldo</a>;</li><li><a
title="Pedrão" href="http://blog.pedrohsantos.eti.br/" target="_blank">Pedro H. B. Santos</a>;</li><li><a
title="@fokner" href="http://kassner.com.br/" target="_blank">Rafael Kassner</a>;</li></ul><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2008/configurando-um-ambiente-para-desenvolvimento-web-com-php/' rel='bookmark' title='Configurando um ambiente para desenvolvimento web com PHP'>Configurando um ambiente para desenvolvimento web com PHP</a></li><li><a
href='http://blog.will.eti.br/2009/contribua-com-o-doctrine/' rel='bookmark' title='Contribua com o Doctrine'>Contribua com o Doctrine</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/ylNF77dToAV3PNbRh-a8priM3Dw/0/da"><img src="http://feedads.g.doubleclick.net/~a/ylNF77dToAV3PNbRh-a8priM3Dw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ylNF77dToAV3PNbRh-a8priM3Dw/1/da"><img src="http://feedads.g.doubleclick.net/~a/ylNF77dToAV3PNbRh-a8priM3Dw/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2011/meu-ambiente-de-trabalho-em-7-itens/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2011/meu-ambiente-de-trabalho-em-7-itens/</feedburner:origLink></item> <item><title>Git Auto-Completion no Shell do Ubuntu</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/MCMePRThIVo/</link> <comments>http://blog.will.eti.br/2010/git-auto-completion-no-shell-do-ubuntu/#comments</comments> <pubDate>Tue, 16 Nov 2010 22:53:54 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Artigos]]></category> <category><![CDATA[GIT]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Ubuntu]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=917</guid> <description><![CDATA[Para ativar o auto-complete do GIT no shell do linux, basta copiar o arquivo .git-completion.bash na pasta home do seu usuário: cp .git-completion.bash ~/ Após, edite o arquivo .bashrc: vim ~/bashrc E cole o seguinte conteúdo no arquivo: source ~/.git-completion.bash &#8230; <a
href="http://blog.will.eti.br/2010/git-auto-completion-no-shell-do-ubuntu/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Para ativar o auto-complete do GIT no shell do linux, basta copiar o arquivo <strong><a
href="https://github.com/git/git/blob/master/contrib/completion/git-completion.bash">.git-completion.bash</a></strong> na pasta home do seu usuário:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> .git-completion.bash ~<span style="color: #000000; font-weight: bold;">/</span></pre></div></div><p>Após, edite o arquivo .bashrc:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vim</span> ~<span style="color: #000000; font-weight: bold;">/</span>bashrc</pre></div></div><p>E cole o seguinte conteúdo no arquivo:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">source</span> ~<span style="color: #000000; font-weight: bold;">/</span>.git-completion.bash</pre></div></div><p>Feito isso, a funcionalidade já está disponível para ser utilizada.<br
/> Além de exibir os comandos disponíveis (no git), autocompleta também os argumentos dos comandos.</p><p>Abaixo, conteúdo do arquivo .git-completion.bash para os curiosos:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!bash</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># bash completion support for core Git.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Copyright (C) 2006,2007 Shawn O. Pearce &lt;spearce@spearce.org&gt;</span>
<span style="color: #666666; font-style: italic;"># Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).</span>
<span style="color: #666666; font-style: italic;"># Distributed under the GNU General Public License, version 2.0.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># The contained completion routines provide support for completing:</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#    *) local and remote branch names</span>
<span style="color: #666666; font-style: italic;">#    *) local and remote tag names</span>
<span style="color: #666666; font-style: italic;">#    *) .git/remotes file names</span>
<span style="color: #666666; font-style: italic;">#    *) git 'subcommands'</span>
<span style="color: #666666; font-style: italic;">#    *) tree paths within 'ref:path/to/file' expressions</span>
<span style="color: #666666; font-style: italic;">#    *) common --long-options</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># To use these routines:</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#    1) Copy this file to somewhere (e.g. ~/.git-completion.sh).</span>
<span style="color: #666666; font-style: italic;">#    2) Added the following line to your .bashrc:</span>
<span style="color: #666666; font-style: italic;">#        source ~/.git-completion.sh</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#       Or, add the following lines to your .zshrc:</span>
<span style="color: #666666; font-style: italic;">#        autoload bashcompinit</span>
<span style="color: #666666; font-style: italic;">#        bashcompinit</span>
<span style="color: #666666; font-style: italic;">#        source ~/.git-completion.sh</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#    3) Consider changing your PS1 to also show the current branch:</span>
<span style="color: #666666; font-style: italic;">#        PS1='[\u@\h \W$(__git_ps1 &quot; (%s)&quot;)]\$ '</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#       The argument to __git_ps1 will be displayed only if you</span>
<span style="color: #666666; font-style: italic;">#       are currently in a git repository.  The %s token will be</span>
<span style="color: #666666; font-style: italic;">#       the name of the current branch.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#       In addition, if you set GIT_PS1_SHOWDIRTYSTATE to a nonempty</span>
<span style="color: #666666; font-style: italic;">#       value, unstaged (*) and staged (+) changes will be shown next</span>
<span style="color: #666666; font-style: italic;">#       to the branch name.  You can configure this per-repository</span>
<span style="color: #666666; font-style: italic;">#       with the bash.showDirtyState variable, which defaults to true</span>
<span style="color: #666666; font-style: italic;">#       once GIT_PS1_SHOWDIRTYSTATE is enabled.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#       You can also see if currently something is stashed, by setting</span>
<span style="color: #666666; font-style: italic;">#       GIT_PS1_SHOWSTASHSTATE to a nonempty value. If something is stashed,</span>
<span style="color: #666666; font-style: italic;">#       then a '$' will be shown next to the branch name.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#       If you would like to see if there're untracked files, then you can</span>
<span style="color: #666666; font-style: italic;">#       set GIT_PS1_SHOWUNTRACKEDFILES to a nonempty value. If there're</span>
<span style="color: #666666; font-style: italic;">#       untracked files, then a '%' will be shown next to the branch name.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#       If you would like to see the difference between HEAD and its</span>
<span style="color: #666666; font-style: italic;">#       upstream, set GIT_PS1_SHOWUPSTREAM=&quot;auto&quot;.  A &quot;&lt;&quot; indicates</span>
<span style="color: #666666; font-style: italic;">#       you are behind, &quot;&gt;&quot; indicates you are ahead, and &quot;&lt;&gt;&quot;</span>
<span style="color: #666666; font-style: italic;">#       indicates you have diverged.  You can further control</span>
<span style="color: #666666; font-style: italic;">#       behaviour by setting GIT_PS1_SHOWUPSTREAM to a space-separated</span>
<span style="color: #666666; font-style: italic;">#       list of values:</span>
<span style="color: #666666; font-style: italic;">#           verbose       show number of commits ahead/behind (+/-) upstream</span>
<span style="color: #666666; font-style: italic;">#           legacy        don't use the '--count' option available in recent</span>
<span style="color: #666666; font-style: italic;">#                         versions of git-rev-list</span>
<span style="color: #666666; font-style: italic;">#           git           always compare HEAD to @{upstream}</span>
<span style="color: #666666; font-style: italic;">#           svn           always compare HEAD to your SVN upstream</span>
<span style="color: #666666; font-style: italic;">#       By default, __git_ps1 will compare HEAD to your SVN upstream</span>
<span style="color: #666666; font-style: italic;">#       if it can find one, or @{upstream} otherwise.  Once you have</span>
<span style="color: #666666; font-style: italic;">#       set GIT_PS1_SHOWUPSTREAM, you can override it on a</span>
<span style="color: #666666; font-style: italic;">#       per-repository basis by setting the bash.showUpstream config</span>
<span style="color: #666666; font-style: italic;">#       variable.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># To submit patches:</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#    *) Read Documentation/SubmittingPatches</span>
<span style="color: #666666; font-style: italic;">#    *) Send all patches to the current maintainer:</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#       &quot;Shawn O. Pearce&quot; &lt;spearce@spearce.org&gt;</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#    *) Always CC the Git mailing list:</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#       git@vger.kernel.org</span>
<span style="color: #666666; font-style: italic;">#</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$COMP_WORDBREAKS</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
<span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> : great <span style="color: #000000; font-weight: bold;">;;</span>
<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>   <span style="color: #007800;">COMP_WORDBREAKS</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$COMP_WORDBREAKS</span>:&quot;</span>
<span style="color: #000000; font-weight: bold;">esac</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># __gitdir accepts 0 or 1 arguments (i.e., location)</span>
<span style="color: #666666; font-style: italic;"># returns location of .git repo</span>
__gitdir <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${1-}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${__git_dir-}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
			<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$__git_dir</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> .git <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
			<span style="color: #7a0874; font-weight: bold;">echo</span> .git
		<span style="color: #000000; font-weight: bold;">else</span>
			<span style="color: #c20cb9; font-weight: bold;">git</span> rev-parse <span style="color: #660033;">--git-dir</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null
		<span style="color: #000000; font-weight: bold;">fi</span>
	<span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;$1/.git&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;$1/.git&quot;</span>
	<span style="color: #000000; font-weight: bold;">else</span>
		<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;$1&quot;</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># stores the divergence from upstream in $p</span>
<span style="color: #666666; font-style: italic;"># used by GIT_PS1_SHOWUPSTREAM</span>
__git_ps1_show_upstream <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> key value
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">svn_remote</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> svn_url_pattern count n
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">upstream</span>=<span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #007800;">legacy</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #007800;">verbose</span>=<span style="color: #ff0000;">&quot;&quot;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;"># get some config options from git-config</span>
	<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #c20cb9; font-weight: bold;">read</span> key value; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$key</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		bash.showupstream<span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #007800;">GIT_PS1_SHOWUPSTREAM</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$value</span>&quot;</span>
			<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${GIT_PS1_SHOWUPSTREAM}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
				<span style="color: #007800;">p</span>=<span style="color: #ff0000;">&quot;&quot;</span>
				<span style="color: #7a0874; font-weight: bold;">return</span>
			<span style="color: #000000; font-weight: bold;">fi</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		svn-remote.<span style="color: #000000; font-weight: bold;">*</span>.url<span style="color: #7a0874; font-weight: bold;">&#41;</span>
			svn_remote<span style="color: #7a0874; font-weight: bold;">&#91;</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #800000;">${#svn_remote[@]}</span> + <span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$value</span>&quot;</span>
			svn_url_pattern+=<span style="color: #ff0000;">&quot;\\|<span style="color: #007800;">$value</span>&quot;</span>
			<span style="color: #007800;">upstream</span>=<span style="color: #c20cb9; font-weight: bold;">svn</span>+<span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #666666; font-style: italic;"># default upstream is SVN if available, else git</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #000000; font-weight: bold;">done</span> <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #000000; font-weight: bold;">&lt;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">git</span> config <span style="color: #660033;">-z</span> <span style="color: #660033;">--get-regexp</span> <span style="color: #ff0000;">'^(svn-remote\..*\.url|bash\.showupstream)$'</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tr</span> <span style="color: #ff0000;">'\0\n'</span> <span style="color: #ff0000;">'\n '</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;"># parse configuration values</span>
	<span style="color: #000000; font-weight: bold;">for</span> option <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #800000;">${GIT_PS1_SHOWUPSTREAM}</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$option</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		<span style="color: #c20cb9; font-weight: bold;">git</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">svn</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">upstream</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$option</span>&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		verbose<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">verbose</span>=<span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">;;</span>
		legacy<span style="color: #7a0874; font-weight: bold;">&#41;</span>  <span style="color: #007800;">legacy</span>=<span style="color: #000000;">1</span>  <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
	<span style="color: #666666; font-style: italic;"># Find our upstream</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$upstream</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #c20cb9; font-weight: bold;">git</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>    <span style="color: #007800;">upstream</span>=<span style="color: #ff0000;">&quot;@{upstream}&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #c20cb9; font-weight: bold;">svn</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #666666; font-style: italic;"># get the upstream from the &quot;git-svn-id: ...&quot; in a commit message</span>
		<span style="color: #666666; font-style: italic;"># (git-svn uses essentially the same procedure internally)</span>
		<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">svn_upstream</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">git</span> log <span style="color: #660033;">--first-parent</span> <span style="color: #660033;">-1</span> \
					<span style="color: #660033;">--grep</span>=<span style="color: #ff0000;">&quot;^git-svn-id: \(<span style="color: #007800;">${svn_url_pattern#??}</span>\)&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000;">0</span> <span style="color: #660033;">-ne</span> <span style="color: #800000;">${#svn_upstream[@]}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
			<span style="color: #007800;">svn_upstream</span>=<span style="color: #800000;">${svn_upstream[ ${#svn_upstream[@]}</span> - <span style="color: #000000;">2</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span>
			<span style="color: #007800;">svn_upstream</span>=<span style="color: #800000;">${svn_upstream%@*}</span>
			<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">n_stop</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${#svn_remote[@]}</span>&quot;</span>
			<span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #007800;">n</span>=<span style="color: #000000;">1</span>; n <span style="color: #000000; font-weight: bold;">&lt;</span>= n_stop; ++n<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span>
				<span style="color: #007800;">svn_upstream</span>=<span style="color: #800000;">${svn_upstream#${svn_remote[$n]}</span><span style="color: #7a0874; font-weight: bold;">&#125;</span>
			<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
			<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$svn_upstream</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
				<span style="color: #666666; font-style: italic;"># default branch name for checkouts with no layout:</span>
				<span style="color: #007800;">upstream</span>=<span style="color: #800000;">${GIT_SVN_ID:-git-svn}</span>
			<span style="color: #000000; font-weight: bold;">else</span>
				<span style="color: #007800;">upstream</span>=<span style="color: #800000;">${svn_upstream#/}</span>
			<span style="color: #000000; font-weight: bold;">fi</span>
		<span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;svn+git&quot;</span> = <span style="color: #ff0000;">&quot;<span style="color: #007800;">$upstream</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
			<span style="color: #007800;">upstream</span>=<span style="color: #ff0000;">&quot;@{upstream}&quot;</span>
		<span style="color: #000000; font-weight: bold;">fi</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
&nbsp;
	<span style="color: #666666; font-style: italic;"># Find how many commits we are ahead/behind our upstream</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$legacy</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #007800;">count</span>=<span style="color: #ff0000;">&quot;$(git rev-list --count --left-right <span style="color: #000099; font-weight: bold;">\
</span>				&quot;</span><span style="color: #007800;">$upstream</span><span style="color: #ff0000;">&quot;...HEAD 2&gt;/dev/null)&quot;</span>
	<span style="color: #000000; font-weight: bold;">else</span>
		<span style="color: #666666; font-style: italic;"># produce equivalent output to --count for older versions of git</span>
		<span style="color: #7a0874; font-weight: bold;">local</span> commits
		<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #007800;">commits</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(git rev-list --left-right &quot;$upstream&quot;...HEAD 2&gt;/dev/null)</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">then</span>
			<span style="color: #7a0874; font-weight: bold;">local</span> commit <span style="color: #007800;">behind</span>=<span style="color: #000000;">0</span> <span style="color: #007800;">ahead</span>=<span style="color: #000000;">0</span>
			<span style="color: #000000; font-weight: bold;">for</span> commit <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$commits</span>
			<span style="color: #000000; font-weight: bold;">do</span>
				<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$commit</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
				<span style="color: #ff0000;">&quot;&lt;&quot;</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">let</span> ++behind
					<span style="color: #000000; font-weight: bold;">;;</span>
				<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>    <span style="color: #7a0874; font-weight: bold;">let</span> ++ahead
					<span style="color: #000000; font-weight: bold;">;;</span>
				<span style="color: #000000; font-weight: bold;">esac</span>
			<span style="color: #000000; font-weight: bold;">done</span>
			<span style="color: #007800;">count</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$behind</span>	<span style="color: #007800;">$ahead</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">else</span>
			<span style="color: #007800;">count</span>=<span style="color: #ff0000;">&quot;&quot;</span>
		<span style="color: #000000; font-weight: bold;">fi</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
	<span style="color: #666666; font-style: italic;"># calculate the result</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$verbose</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$count</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		<span style="color: #ff0000;">&quot;&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #666666; font-style: italic;"># no upstream</span>
			<span style="color: #007800;">p</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #ff0000;">&quot;0	0&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #666666; font-style: italic;"># equal to upstream</span>
			<span style="color: #007800;">p</span>=<span style="color: #ff0000;">&quot;=&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #ff0000;">&quot;0	&quot;</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #666666; font-style: italic;"># ahead of upstream</span>
			<span style="color: #007800;">p</span>=<span style="color: #ff0000;">&quot;&gt;&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">*</span><span style="color: #ff0000;">&quot;	0&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #666666; font-style: italic;"># behind upstream</span>
			<span style="color: #007800;">p</span>=<span style="color: #ff0000;">&quot;&lt;&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>	    <span style="color: #666666; font-style: italic;"># diverged from upstream</span>
			<span style="color: #007800;">p</span>=<span style="color: #ff0000;">&quot;&lt;&gt;&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #000000; font-weight: bold;">else</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$count</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		<span style="color: #ff0000;">&quot;&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #666666; font-style: italic;"># no upstream</span>
			<span style="color: #007800;">p</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #ff0000;">&quot;0	0&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #666666; font-style: italic;"># equal to upstream</span>
			<span style="color: #007800;">p</span>=<span style="color: #ff0000;">&quot; u=&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #ff0000;">&quot;0	&quot;</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #666666; font-style: italic;"># ahead of upstream</span>
			<span style="color: #007800;">p</span>=<span style="color: #ff0000;">&quot; u+<span style="color: #007800;">${count#0	}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">*</span><span style="color: #ff0000;">&quot;	0&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #666666; font-style: italic;"># behind upstream</span>
			<span style="color: #007800;">p</span>=<span style="color: #ff0000;">&quot; u-<span style="color: #007800;">${count%	0}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>	    <span style="color: #666666; font-style: italic;"># diverged from upstream</span>
			<span style="color: #007800;">p</span>=<span style="color: #ff0000;">&quot; u+<span style="color: #007800;">${count#*	}</span>-<span style="color: #007800;">${count%	*}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;"># __git_ps1 accepts 0 or 1 arguments (i.e., format string)</span>
<span style="color: #666666; font-style: italic;"># returns text to add to bash PS1 prompt (includes branch name)</span>
__git_ps1 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">g</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__gitdir)</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$g</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">r</span>=<span style="color: #ff0000;">&quot;&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">b</span>=<span style="color: #ff0000;">&quot;&quot;</span>
		<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-f</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$g</span>/rebase-merge/interactive&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
			<span style="color: #007800;">r</span>=<span style="color: #ff0000;">&quot;|REBASE-i&quot;</span>
			<span style="color: #007800;">b</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(cat &quot;$g/rebase-merge/head-name&quot;)</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$g</span>/rebase-merge&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
			<span style="color: #007800;">r</span>=<span style="color: #ff0000;">&quot;|REBASE-m&quot;</span>
			<span style="color: #007800;">b</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(cat &quot;$g/rebase-merge/head-name&quot;)</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">else</span>
			<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$g</span>/rebase-apply&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
				<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-f</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$g</span>/rebase-apply/rebasing&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
					<span style="color: #007800;">r</span>=<span style="color: #ff0000;">&quot;|REBASE&quot;</span>
				<span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-f</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$g</span>/rebase-apply/applying&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
					<span style="color: #007800;">r</span>=<span style="color: #ff0000;">&quot;|AM&quot;</span>
				<span style="color: #000000; font-weight: bold;">else</span>
					<span style="color: #007800;">r</span>=<span style="color: #ff0000;">&quot;|AM/REBASE&quot;</span>
				<span style="color: #000000; font-weight: bold;">fi</span>
			<span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-f</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$g</span>/MERGE_HEAD&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
				<span style="color: #007800;">r</span>=<span style="color: #ff0000;">&quot;|MERGING&quot;</span>
			<span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-f</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$g</span>/BISECT_LOG&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
				<span style="color: #007800;">r</span>=<span style="color: #ff0000;">&quot;|BISECTING&quot;</span>
			<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
			<span style="color: #007800;">b</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(git symbolic-ref HEAD 2&gt;/dev/null)</span>&quot;</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
&nbsp;
				<span style="color: #007800;">b</span>=<span style="color: #ff0000;">&quot;$(
				case &quot;</span><span style="color: #800000;">${GIT_PS1_DESCRIBE_STYLE-}</span><span style="color: #ff0000;">&quot; in
				(contains)
					git describe --contains HEAD ;;
				(branch)
					git describe --contains --all HEAD ;;
				(describe)
					git describe HEAD ;;
				(* | default)
					git describe --exact-match HEAD ;;
				esac 2&gt;/dev/null)&quot;</span> <span style="color: #000000; font-weight: bold;">||</span>
&nbsp;
				<span style="color: #007800;">b</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(cut -c1-7 &quot;$g/HEAD&quot; 2&gt;/dev/null)</span>...&quot;</span> <span style="color: #000000; font-weight: bold;">||</span>
				<span style="color: #007800;">b</span>=<span style="color: #ff0000;">&quot;unknown&quot;</span>
				<span style="color: #007800;">b</span>=<span style="color: #ff0000;">&quot;(<span style="color: #007800;">$b</span>)&quot;</span>
			<span style="color: #7a0874; font-weight: bold;">&#125;</span>
		<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
		<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">w</span>=<span style="color: #ff0000;">&quot;&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">i</span>=<span style="color: #ff0000;">&quot;&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">s</span>=<span style="color: #ff0000;">&quot;&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">u</span>=<span style="color: #ff0000;">&quot;&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">c</span>=<span style="color: #ff0000;">&quot;&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">p</span>=<span style="color: #ff0000;">&quot;&quot;</span>
&nbsp;
		<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;true&quot;</span> = <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(git rev-parse --is-inside-git-dir 2&gt;/dev/null)</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
			<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;true&quot;</span> = <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(git rev-parse --is-bare-repository 2&gt;/dev/null)</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
				<span style="color: #007800;">c</span>=<span style="color: #ff0000;">&quot;BARE:&quot;</span>
			<span style="color: #000000; font-weight: bold;">else</span>
				<span style="color: #007800;">b</span>=<span style="color: #ff0000;">&quot;GIT_DIR!&quot;</span>
			<span style="color: #000000; font-weight: bold;">fi</span>
		<span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;true&quot;</span> = <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(git rev-parse --is-inside-work-tree 2&gt;/dev/null)</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
			<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${GIT_PS1_SHOWDIRTYSTATE-}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
				<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(git config --bool bash.showDirtyState)</span>&quot;</span> <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #ff0000;">&quot;false&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
					<span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #c20cb9; font-weight: bold;">diff</span> <span style="color: #660033;">--no-ext-diff</span> <span style="color: #660033;">--quiet</span> <span style="color: #660033;">--exit-code</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #007800;">w</span>=<span style="color: #ff0000;">&quot;*&quot;</span>
					<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #c20cb9; font-weight: bold;">git</span> rev-parse <span style="color: #660033;">--quiet</span> <span style="color: #660033;">--verify</span> HEAD <span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null; <span style="color: #000000; font-weight: bold;">then</span>
						<span style="color: #c20cb9; font-weight: bold;">git</span> diff-index <span style="color: #660033;">--cached</span> <span style="color: #660033;">--quiet</span> HEAD <span style="color: #660033;">--</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #007800;">i</span>=<span style="color: #ff0000;">&quot;+&quot;</span>
					<span style="color: #000000; font-weight: bold;">else</span>
						<span style="color: #007800;">i</span>=<span style="color: #ff0000;">&quot;#&quot;</span>
					<span style="color: #000000; font-weight: bold;">fi</span>
				<span style="color: #000000; font-weight: bold;">fi</span>
			<span style="color: #000000; font-weight: bold;">fi</span>
			<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${GIT_PS1_SHOWSTASHSTATE-}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
			        <span style="color: #c20cb9; font-weight: bold;">git</span> rev-parse <span style="color: #660033;">--verify</span> refs<span style="color: #000000; font-weight: bold;">/</span>stash <span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #007800;">s</span>=<span style="color: #ff0000;">&quot;$&quot;</span>
			<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
			<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${GIT_PS1_SHOWUNTRACKEDFILES-}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
			   <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(git ls-files --others --exclude-standard)</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
			      <span style="color: #007800;">u</span>=<span style="color: #ff0000;">&quot;%&quot;</span>
			   <span style="color: #000000; font-weight: bold;">fi</span>
			<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
			<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${GIT_PS1_SHOWUPSTREAM-}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
				__git_ps1_show_upstream
			<span style="color: #000000; font-weight: bold;">fi</span>
		<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
		<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">f</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$w</span><span style="color: #007800;">$i</span><span style="color: #007800;">$s</span><span style="color: #007800;">$u</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">printf</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${1:- (%s)}</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$c</span><span style="color: #007800;">${b##refs/heads/}</span><span style="color: #007800;">${f:+ $f}</span><span style="color: #007800;">$r</span><span style="color: #007800;">$p</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># __gitcomp_1 requires 2 arguments</span>
__gitcomp_1 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> c <span style="color: #007800;">IFS</span>=<span style="color: #ff0000;">' '</span>$<span style="color: #ff0000;">'\t'</span>$<span style="color: #ff0000;">'\n'</span>
	<span style="color: #000000; font-weight: bold;">for</span> c <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$1</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$c</span>$2&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		--<span style="color: #000000; font-weight: bold;">*</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">printf</span> <span style="color: #000000; font-weight: bold;">%</span>s$<span style="color: #ff0000;">'\n'</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$c</span>$2&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">*</span>.<span style="color: #7a0874; font-weight: bold;">&#41;</span>    <span style="color: #7a0874; font-weight: bold;">printf</span> <span style="color: #000000; font-weight: bold;">%</span>s$<span style="color: #ff0000;">'\n'</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$c</span>$2&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>     <span style="color: #7a0874; font-weight: bold;">printf</span> <span style="color: #000000; font-weight: bold;">%</span>s$<span style="color: #ff0000;">'\n'</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$c</span>$2 &quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># __gitcomp accepts 1, 2, 3, or 4 arguments</span>
<span style="color: #666666; font-style: italic;"># generates completion reply with compgen</span>
__gitcomp <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$#</span> <span style="color: #660033;">-gt</span> <span style="color: #000000;">2</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;$3&quot;</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span>=<span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">IFS</span>=$<span style="color: #ff0000;">'\n'</span>
		<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">compgen</span> <span style="color: #660033;">-P</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${2-}</span>&quot;</span> \
			<span style="color: #660033;">-W</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__gitcomp_1 &quot;${1-}&quot; &quot;${4-}&quot;)</span>&quot;</span> \
			<span style="color: #660033;">--</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># __git_heads accepts 0 or 1 arguments (to pass to __gitdir)</span>
__git_heads <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> cmd i <span style="color: #007800;">is_hash</span>=y <span style="color: #007800;">dir</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__gitdir &quot;${1-}&quot;)</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dir</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #660033;">--git-dir</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$dir</span>&quot;</span> for-each-ref <span style="color: #660033;">--format</span>=<span style="color: #ff0000;">'%(refname:short)'</span> \
			refs<span style="color: #000000; font-weight: bold;">/</span>heads
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
	<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">git</span> ls-remote <span style="color: #ff0000;">&quot;<span style="color: #007800;">${1-}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null<span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$is_hash</span>,<span style="color: #007800;">$i</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		y,<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=n <span style="color: #000000; font-weight: bold;">;;</span>
		n,<span style="color: #000000; font-weight: bold;">*</span>^<span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=y <span style="color: #000000; font-weight: bold;">;;</span>
		n,refs<span style="color: #000000; font-weight: bold;">/</span>heads<span style="color: #000000; font-weight: bold;">/*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=y; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${i#refs/heads/}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		n,<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=y; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$i</span>&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># __git_tags accepts 0 or 1 arguments (to pass to __gitdir)</span>
__git_tags <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> cmd i <span style="color: #007800;">is_hash</span>=y <span style="color: #007800;">dir</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__gitdir &quot;${1-}&quot;)</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dir</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #660033;">--git-dir</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$dir</span>&quot;</span> for-each-ref <span style="color: #660033;">--format</span>=<span style="color: #ff0000;">'%(refname:short)'</span> \
			refs<span style="color: #000000; font-weight: bold;">/</span>tags
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
	<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">git</span> ls-remote <span style="color: #ff0000;">&quot;<span style="color: #007800;">${1-}</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null<span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$is_hash</span>,<span style="color: #007800;">$i</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		y,<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=n <span style="color: #000000; font-weight: bold;">;;</span>
		n,<span style="color: #000000; font-weight: bold;">*</span>^<span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=y <span style="color: #000000; font-weight: bold;">;;</span>
		n,refs<span style="color: #000000; font-weight: bold;">/</span>tags<span style="color: #000000; font-weight: bold;">/*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=y; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${i#refs/tags/}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		n,<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=y; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$i</span>&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># __git_refs accepts 0 or 1 arguments (to pass to __gitdir)</span>
__git_refs <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> i <span style="color: #007800;">is_hash</span>=y <span style="color: #007800;">dir</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__gitdir &quot;${1-}&quot;)</span>&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span> format refs
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dir</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		refs<span style="color: #000000; font-weight: bold;">|</span>refs<span style="color: #000000; font-weight: bold;">/*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #007800;">format</span>=<span style="color: #ff0000;">&quot;refname&quot;</span>
			<span style="color: #007800;">refs</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur%/*}</span>&quot;</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> HEAD FETCH_HEAD ORIG_HEAD MERGE_HEAD; <span style="color: #000000; font-weight: bold;">do</span>
				<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dir</span>/<span style="color: #007800;">$i</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$i</span>; <span style="color: #000000; font-weight: bold;">fi</span>
			<span style="color: #000000; font-weight: bold;">done</span>
			<span style="color: #007800;">format</span>=<span style="color: #ff0000;">&quot;refname:short&quot;</span>
			<span style="color: #007800;">refs</span>=<span style="color: #ff0000;">&quot;refs/tags refs/heads refs/remotes&quot;</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
		<span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #660033;">--git-dir</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$dir</span>&quot;</span> for-each-ref <span style="color: #660033;">--format</span>=<span style="color: #ff0000;">&quot;%(<span style="color: #007800;">$format</span>)&quot;</span> \
			<span style="color: #007800;">$refs</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
	<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">git</span> ls-remote <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dir</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null<span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$is_hash</span>,<span style="color: #007800;">$i</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		y,<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=n <span style="color: #000000; font-weight: bold;">;;</span>
		n,<span style="color: #000000; font-weight: bold;">*</span>^<span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=y <span style="color: #000000; font-weight: bold;">;;</span>
		n,refs<span style="color: #000000; font-weight: bold;">/</span>tags<span style="color: #000000; font-weight: bold;">/*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=y; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${i#refs/tags/}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		n,refs<span style="color: #000000; font-weight: bold;">/</span>heads<span style="color: #000000; font-weight: bold;">/*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=y; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${i#refs/heads/}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		n,refs<span style="color: #000000; font-weight: bold;">/</span>remotes<span style="color: #000000; font-weight: bold;">/*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=y; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${i#refs/remotes/}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		n,<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=y; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$i</span>&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># __git_refs2 requires 1 argument (to pass to __git_refs)</span>
__git_refs2 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> i
	<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_refs <span style="color: #ff0000;">&quot;$1&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$i</span>:<span style="color: #007800;">$i</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># __git_refs_remotes requires 1 argument (to pass to ls-remote)</span>
__git_refs_remotes <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> cmd i <span style="color: #007800;">is_hash</span>=y
	<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">git</span> ls-remote <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null<span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$is_hash</span>,<span style="color: #007800;">$i</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		n,refs<span style="color: #000000; font-weight: bold;">/</span>heads<span style="color: #000000; font-weight: bold;">/*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #007800;">is_hash</span>=y
			<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$i</span>:refs/remotes/$1/<span style="color: #007800;">${i#refs/heads/}</span>&quot;</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		y,<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=n <span style="color: #000000; font-weight: bold;">;;</span>
		n,<span style="color: #000000; font-weight: bold;">*</span>^<span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=y <span style="color: #000000; font-weight: bold;">;;</span>
		n,refs<span style="color: #000000; font-weight: bold;">/</span>tags<span style="color: #000000; font-weight: bold;">/*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=y<span style="color: #000000; font-weight: bold;">;;</span>
		n,<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">is_hash</span>=y; <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
__git_remotes <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> i ngoff <span style="color: #007800;">IFS</span>=$<span style="color: #ff0000;">'\n'</span> <span style="color: #007800;">d</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__gitdir)</span>&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">shopt</span> <span style="color: #660033;">-q</span> nullglob <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #007800;">ngoff</span>=<span style="color: #000000;">1</span>
	<span style="color: #7a0874; font-weight: bold;">shopt</span> <span style="color: #660033;">-s</span> nullglob
	<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$d</span>/remotes&quot;</span><span style="color: #000000; font-weight: bold;">/*</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #800000;">${i#$d/remotes/}</span>
	<span style="color: #000000; font-weight: bold;">done</span>
	<span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$ngoff</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">shopt</span> <span style="color: #660033;">-u</span> nullglob
	<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #660033;">--git-dir</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$d</span>&quot;</span> config <span style="color: #660033;">--get-regexp</span> <span style="color: #ff0000;">'remote\..*\.url'</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null<span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #007800;">i</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${i#remote.}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${i/.url*/}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
__git_list_merge_strategies <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #c20cb9; font-weight: bold;">git</span> merge <span style="color: #660033;">-s</span> <span style="color: #7a0874; font-weight: bold;">help</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span>
	<span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-n</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'/[Aa]vailable strategies are: /,/^$/{
		s/\.$//
		s/.*://
		s/^[ 	]*//
		s/[ 	]*$//
		p
	}'</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #007800;">__git_merge_strategies</span>=
<span style="color: #666666; font-style: italic;"># 'git merge -s help' (and thus detection of the merge strategy</span>
<span style="color: #666666; font-style: italic;"># list) fails, unfortunately, if run outside of any git working</span>
<span style="color: #666666; font-style: italic;"># tree.  __git_merge_strategies is set to the empty string in</span>
<span style="color: #666666; font-style: italic;"># that case, and the detection will be repeated the next time it</span>
<span style="color: #666666; font-style: italic;"># is needed.</span>
__git_compute_merge_strategies <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	: <span style="color: #800000;">${__git_merge_strategies:=$(__git_list_merge_strategies)}</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
__git_complete_file <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> pfx <span style="color: #c20cb9; font-weight: bold;">ls</span> ref <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	?<span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #007800;">ref</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur%%:*}</span>&quot;</span>
		<span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur#*:}</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		?<span style="color: #000000; font-weight: bold;">*/*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #007800;">pfx</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur%/*}</span>&quot;</span>
			<span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##*/}</span>&quot;</span>
			<span style="color: #007800;">ls</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$ref</span>:<span style="color: #007800;">$pfx</span>&quot;</span>
			<span style="color: #007800;">pfx</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$pfx</span>/&quot;</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #007800;">ls</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$ref</span>&quot;</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
	    <span style="color: #000000; font-weight: bold;">esac</span>
&nbsp;
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$COMP_WORDBREAKS</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		<span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> : great <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>   <span style="color: #007800;">pfx</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$ref</span>:<span style="color: #007800;">$pfx</span>&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
&nbsp;
		<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">IFS</span>=$<span style="color: #ff0000;">'\n'</span>
		<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">compgen</span> <span style="color: #660033;">-P</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$pfx</span>&quot;</span> \
			<span style="color: #660033;">-W</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(git --git-dir=&quot;$(__gitdir)</span>&quot;</span> ls-tree <span style="color: #ff0000;">&quot;<span style="color: #007800;">$ls</span>&quot;</span> \
				<span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'/^100... blob /{
				           s,^.*	,,
				           s,$, ,
				       }
				       /^120000 blob /{
				           s,^.*	,,
				           s,$, ,
				       }
				       /^040000 tree /{
				           s,^.*	,,
				           s,$,/,
				       }
				       s/^.*	//'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; <span style="color: #000099; font-weight: bold;">\
</span>			-- &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;))
		;;
	*)
		__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_refs<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
		;;
	esac
}
&nbsp;
__git_complete_revlist ()
{
	local pfx cur=&quot;</span><span style="color: #800000;">${COMP_WORDS[COMP_CWORD]}</span><span style="color: #ff0000;">&quot;
	case &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot; in
	*...*)
		pfx=&quot;</span><span style="color: #800000;">${cur%...*}</span>...<span style="color: #ff0000;">&quot;
		cur=&quot;</span><span style="color: #800000;">${cur#*...}</span><span style="color: #ff0000;">&quot;
		__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_refs<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		;;
	*..*)
		pfx=&quot;</span><span style="color: #800000;">${cur%..*}</span>..<span style="color: #ff0000;">&quot;
		cur=&quot;</span><span style="color: #800000;">${cur#*..}</span><span style="color: #ff0000;">&quot;
		__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_refs<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		;;
	*)
		__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_refs<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
		;;
	esac
}
&nbsp;
__git_complete_remote_or_refspec ()
{
	local cmd=&quot;</span><span style="color: #800000;">${COMP_WORDS[1]}</span><span style="color: #ff0000;">&quot;
	local cur=&quot;</span><span style="color: #800000;">${COMP_WORDS[COMP_CWORD]}</span><span style="color: #ff0000;">&quot;
	local i c=2 remote=&quot;</span><span style="color: #ff0000;">&quot; pfx=&quot;</span><span style="color: #ff0000;">&quot; lhs=1 no_complete_refspec=0
	while [ <span style="color: #007800;">$c</span> -lt <span style="color: #007800;">$COMP_CWORD</span> ]; do
		i=&quot;</span><span style="color: #800000;">${COMP_WORDS[c]}</span><span style="color: #ff0000;">&quot;
		case &quot;</span><span style="color: #007800;">$i</span><span style="color: #ff0000;">&quot; in
		--mirror) [ &quot;</span><span style="color: #007800;">$cmd</span><span style="color: #ff0000;">&quot; = &quot;</span>push<span style="color: #ff0000;">&quot; ] &amp;&amp; no_complete_refspec=1 ;;
		--all)
			case &quot;</span><span style="color: #007800;">$cmd</span><span style="color: #ff0000;">&quot; in
			push) no_complete_refspec=1 ;;
			fetch)
				COMPREPLY=()
				return
				;;
			*) ;;
			esac
			;;
		-*) ;;
		*) remote=&quot;</span><span style="color: #007800;">$i</span><span style="color: #ff0000;">&quot;; break ;;
		esac
		c=<span style="color: #007800;">$((++c)</span>)
	done
	if [ -z &quot;</span><span style="color: #007800;">$remote</span><span style="color: #ff0000;">&quot; ]; then
		__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_remotes<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
		return
	fi
	if [ <span style="color: #007800;">$no_complete_refspec</span> = 1 ]; then
		COMPREPLY=()
		return
	fi
	[ &quot;</span><span style="color: #007800;">$remote</span><span style="color: #ff0000;">&quot; = &quot;</span>.<span style="color: #ff0000;">&quot; ] &amp;&amp; remote=
	case &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot; in
	*:*)
		case &quot;</span><span style="color: #007800;">$COMP_WORDBREAKS</span><span style="color: #ff0000;">&quot; in
		*:*) : great ;;
		*)   pfx=&quot;</span><span style="color: #800000;">${cur%%:*}</span>:<span style="color: #ff0000;">&quot; ;;
		esac
		cur=&quot;</span><span style="color: #800000;">${cur#*:}</span><span style="color: #ff0000;">&quot;
		lhs=0
		;;
	+*)
		pfx=&quot;</span>+<span style="color: #ff0000;">&quot;
		cur=&quot;</span><span style="color: #800000;">${cur#+}</span><span style="color: #ff0000;">&quot;
		;;
	esac
	case &quot;</span><span style="color: #007800;">$cmd</span><span style="color: #ff0000;">&quot; in
	fetch)
		if [ <span style="color: #007800;">$lhs</span> = 1 ]; then
			__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_refs2 <span style="color: #ff0000;">&quot;<span style="color: #007800;">$remote</span>&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		else
			__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_refs<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		fi
		;;
	pull)
		if [ <span style="color: #007800;">$lhs</span> = 1 ]; then
			__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_refs <span style="color: #ff0000;">&quot;<span style="color: #007800;">$remote</span>&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		else
			__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_refs<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		fi
		;;
	push)
		if [ <span style="color: #007800;">$lhs</span> = 1 ]; then
			__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_refs<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		else
			__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_refs <span style="color: #ff0000;">&quot;<span style="color: #007800;">$remote</span>&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		fi
		;;
	esac
}
&nbsp;
__git_complete_strategy ()
{
	__git_compute_merge_strategies
	case &quot;</span><span style="color: #800000;">${COMP_WORDS[COMP_CWORD-1]}</span><span style="color: #ff0000;">&quot; in
	-s|--strategy)
		__gitcomp &quot;</span><span style="color: #007800;">$__git_merge_strategies</span><span style="color: #ff0000;">&quot;
		return 0
	esac
	local cur=&quot;</span><span style="color: #800000;">${COMP_WORDS[COMP_CWORD]}</span><span style="color: #ff0000;">&quot;
	case &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot; in
	--strategy=*)
		__gitcomp &quot;</span><span style="color: #007800;">$__git_merge_strategies</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #800000;">${cur##--strategy=}</span><span style="color: #ff0000;">&quot;
		return 0
		;;
	esac
	return 1
}
&nbsp;
__git_list_all_commands ()
{
	local i IFS=&quot;</span> <span style="color: #ff0000;">&quot;$'<span style="color: #000099; font-weight: bold;">\n</span>'
	for i in <span style="color: #007800;">$(git help -a|egrep '^  [a-zA-Z0-9]')</span>
	do
		case <span style="color: #007800;">$i</span> in
		*--*)             : helper pattern;;
		*) echo <span style="color: #007800;">$i</span>;;
		esac
	done
}
&nbsp;
__git_all_commands=
__git_compute_all_commands ()
{
	: <span style="color: #007800;">${__git_all_commands:=$(__git_list_all_commands)}</span>
}
&nbsp;
__git_list_porcelain_commands ()
{
	local i IFS=&quot;</span> <span style="color: #ff0000;">&quot;$'<span style="color: #000099; font-weight: bold;">\n</span>'
	__git_compute_all_commands
	for i in &quot;</span><span style="color: #7a0874; font-weight: bold;">help</span><span style="color: #ff0000;">&quot; <span style="color: #007800;">$__git_all_commands</span>
	do
		case <span style="color: #007800;">$i</span> in
		*--*)             : helper pattern;;
		applymbox)        : ask gittus;;
		applypatch)       : ask gittus;;
		archimport)       : import;;
		cat-file)         : plumbing;;
		check-attr)       : plumbing;;
		check-ref-format) : plumbing;;
		checkout-index)   : plumbing;;
		commit-tree)      : plumbing;;
		count-objects)    : infrequent;;
		cvsexportcommit)  : export;;
		cvsimport)        : import;;
		cvsserver)        : daemon;;
		daemon)           : daemon;;
		diff-files)       : plumbing;;
		diff-index)       : plumbing;;
		diff-tree)        : plumbing;;
		fast-import)      : import;;
		fast-export)      : export;;
		fsck-objects)     : plumbing;;
		fetch-pack)       : plumbing;;
		fmt-merge-msg)    : plumbing;;
		for-each-ref)     : plumbing;;
		hash-object)      : plumbing;;
		http-*)           : transport;;
		index-pack)       : plumbing;;
		init-db)          : deprecated;;
		local-fetch)      : plumbing;;
		lost-found)       : infrequent;;
		ls-files)         : plumbing;;
		ls-remote)        : plumbing;;
		ls-tree)          : plumbing;;
		mailinfo)         : plumbing;;
		mailsplit)        : plumbing;;
		merge-*)          : plumbing;;
		mktree)           : plumbing;;
		mktag)            : plumbing;;
		pack-objects)     : plumbing;;
		pack-redundant)   : plumbing;;
		pack-refs)        : plumbing;;
		parse-remote)     : plumbing;;
		patch-id)         : plumbing;;
		peek-remote)      : plumbing;;
		prune)            : plumbing;;
		prune-packed)     : plumbing;;
		quiltimport)      : import;;
		read-tree)        : plumbing;;
		receive-pack)     : plumbing;;
		reflog)           : plumbing;;
		remote-*)         : transport;;
		repo-config)      : deprecated;;
		rerere)           : plumbing;;
		rev-list)         : plumbing;;
		rev-parse)        : plumbing;;
		runstatus)        : plumbing;;
		sh-setup)         : internal;;
		shell)            : daemon;;
		show-ref)         : plumbing;;
		send-pack)        : plumbing;;
		show-index)       : plumbing;;
		ssh-*)            : transport;;
		stripspace)       : plumbing;;
		symbolic-ref)     : plumbing;;
		tar-tree)         : deprecated;;
		unpack-file)      : plumbing;;
		unpack-objects)   : plumbing;;
		update-index)     : plumbing;;
		update-ref)       : plumbing;;
		update-server-info) : daemon;;
		upload-archive)   : plumbing;;
		upload-pack)      : plumbing;;
		write-tree)       : plumbing;;
		var)              : infrequent;;
		verify-pack)      : infrequent;;
		verify-tag)       : plumbing;;
		*) echo <span style="color: #007800;">$i</span>;;
		esac
	done
}
&nbsp;
__git_porcelain_commands=
__git_compute_porcelain_commands ()
{
	__git_compute_all_commands
	: <span style="color: #007800;">${__git_porcelain_commands:=$(__git_list_porcelain_commands)}</span>
}
&nbsp;
__git_aliases ()
{
	local i IFS=$'<span style="color: #000099; font-weight: bold;">\n</span>'
	for i in <span style="color: #007800;">$(git --git-dir=&quot;$(__gitdir)</span>&quot;</span> config <span style="color: #660033;">--get-regexp</span> <span style="color: #ff0000;">&quot;alias\..*&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null<span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$i</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		alias.<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #007800;">i</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${i#alias.}</span>&quot;</span>
			<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${i/ */}</span>&quot;</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># __git_aliased_command requires 1 argument</span>
__git_aliased_command <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> word <span style="color: #007800;">cmdline</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #660033;">--git-dir</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__gitdir)</span>&quot;</span> \
		config <span style="color: #660033;">--get</span> <span style="color: #ff0000;">&quot;alias.$1&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
	<span style="color: #000000; font-weight: bold;">for</span> word <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$cmdline</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$word</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		\<span style="color: #000000; font-weight: bold;">!</span>gitk<span style="color: #000000; font-weight: bold;">|</span>gitk<span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;gitk&quot;</span>
			<span style="color: #7a0874; font-weight: bold;">return</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		\<span style="color: #000000; font-weight: bold;">!*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>	: shell <span style="color: #7a0874; font-weight: bold;">command</span> <span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #000000; font-weight: bold;">;;</span>
		-<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>	: option <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">*</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>	: setting <span style="color: #c20cb9; font-weight: bold;">env</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #c20cb9; font-weight: bold;">git</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>	: <span style="color: #c20cb9; font-weight: bold;">git</span> itself <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$word</span>&quot;</span>
			<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># __git_find_on_cmdline requires 1 argument</span>
__git_find_on_cmdline <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> word subcommand <span style="color: #007800;">c</span>=<span style="color: #000000;">1</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$c</span> <span style="color: #660033;">-lt</span> <span style="color: #007800;">$COMP_CWORD</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #007800;">word</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[c]}</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">for</span> subcommand <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$1</span>; <span style="color: #000000; font-weight: bold;">do</span>
			<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$subcommand</span>&quot;</span> = <span style="color: #ff0000;">&quot;<span style="color: #007800;">$word</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
				<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$subcommand</span>&quot;</span>
				<span style="color: #7a0874; font-weight: bold;">return</span>
			<span style="color: #000000; font-weight: bold;">fi</span>
		<span style="color: #000000; font-weight: bold;">done</span>
		<span style="color: #007800;">c</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>++c<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
	<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
__git_has_doubledash <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">c</span>=<span style="color: #000000;">1</span>
	<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$c</span> <span style="color: #660033;">-lt</span> <span style="color: #007800;">$COMP_CWORD</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;--&quot;</span> = <span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[c]}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
			<span style="color: #7a0874; font-weight: bold;">return</span> <span style="color: #000000;">0</span>
		<span style="color: #000000; font-weight: bold;">fi</span>
		<span style="color: #007800;">c</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>++c<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
	<span style="color: #000000; font-weight: bold;">done</span>
	<span style="color: #7a0874; font-weight: bold;">return</span> <span style="color: #000000;">1</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #007800;">__git_whitespacelist</span>=<span style="color: #ff0000;">&quot;nowarn warn error error-all fix&quot;</span>
&nbsp;
_git_am <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span> <span style="color: #007800;">dir</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__gitdir)</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dir</span>&quot;</span><span style="color: #000000; font-weight: bold;">/</span>rebase-apply <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		__gitcomp <span style="color: #ff0000;">&quot;--skip --continue --resolved --abort&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">--whitespace</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$__git_whitespacelist</span>&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--whitespace=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--3way --committer-date-is-author-date --ignore-date
			--ignore-whitespace --ignore-space-change
			--interactive --keep --no-utf8 --signoff --utf8
			--whitespace= --scissors
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_apply <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">--whitespace</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$__git_whitespacelist</span>&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--whitespace=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--stat --numstat --summary --check --index
			--cached --index-info --reverse --reject --unidiff-zero
			--apply --no-add --exclude=
			--ignore-whitespace --ignore-space-change
			--whitespace= --inaccurate-eof --verbose
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_add <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_has_doubledash <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--interactive --refresh --patch --update --dry-run
			--ignore-errors --intent-to-add
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_archive <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">--format</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(git archive --list)</span>&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--format=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #660033;">--remote</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_remotes)</span>&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--remote=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--format= --list --verbose
			--prefix= --remote= --exec=
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__git_complete_file
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_bisect <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_has_doubledash <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">subcommands</span>=<span style="color: #ff0000;">&quot;start bad good skip reset visualize replay log run&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">subcommand</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_find_on_cmdline &quot;$subcommands&quot;)</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$subcommand</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$subcommands</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$subcommand</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	bad<span style="color: #000000; font-weight: bold;">|</span>good<span style="color: #000000; font-weight: bold;">|</span>reset<span style="color: #000000; font-weight: bold;">|</span>skip<span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_branch <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> i <span style="color: #007800;">c</span>=<span style="color: #000000;">1</span> <span style="color: #007800;">only_local_ref</span>=<span style="color: #ff0000;">&quot;n&quot;</span> <span style="color: #007800;">has_r</span>=<span style="color: #ff0000;">&quot;n&quot;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$c</span> <span style="color: #660033;">-lt</span> <span style="color: #007800;">$COMP_CWORD</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #007800;">i</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[c]}</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$i</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		<span style="color: #660033;">-d</span><span style="color: #000000; font-weight: bold;">|</span>-m<span style="color: #7a0874; font-weight: bold;">&#41;</span>	<span style="color: #007800;">only_local_ref</span>=<span style="color: #ff0000;">&quot;y&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		-r<span style="color: #7a0874; font-weight: bold;">&#41;</span>	<span style="color: #007800;">has_r</span>=<span style="color: #ff0000;">&quot;y&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
		<span style="color: #007800;">c</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>++c<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
	<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--color --no-color --verbose --abbrev= --no-abbrev
			--track --no-track --contains --merged --no-merged
			--set-upstream
			&quot;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$only_local_ref</span> = <span style="color: #ff0000;">&quot;y&quot;</span> <span style="color: #660033;">-a</span> <span style="color: #007800;">$has_r</span> = <span style="color: #ff0000;">&quot;n&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
			__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_heads)</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">else</span>
			__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">fi</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_bundle <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cmd</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[2]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$COMP_CWORD</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;create list-heads verify unbundle&quot;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000;">3</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #666666; font-style: italic;"># looking for a file</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cmd</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
			create<span style="color: #7a0874; font-weight: bold;">&#41;</span>
				__git_complete_revlist
			<span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_checkout <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_has_doubledash <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">--conflict</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;diff3 merge&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--conflict=}</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--quiet --ours --theirs --track --no-track --merge
			--conflict= --orphan --patch
			&quot;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_cherry <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_cherry_pick <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--edit --no-commit&quot;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_clean <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_has_doubledash <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--dry-run --quiet&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_clone <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--local
			--no-hardlinks
			--shared
			--reference
			--quiet
			--no-checkout
			--bare
			--mirror
			--origin
			--upload-pack
			--template=
			--depth
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_commit <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_has_doubledash <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">--cleanup</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;default strip verbatim whitespace
			&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--cleanup=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #660033;">--reuse-message</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--reuse-message=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #660033;">--reedit-message</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--reedit-message=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #660033;">--untracked-files</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;all no normal&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--untracked-files=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--all --author= --signoff --verify --no-verify
			--edit --amend --include --only --interactive
			--dry-run --reuse-message= --reedit-message=
			--reset-author --file= --message= --template=
			--cleanup= --untracked-files --untracked-files=
			--verbose --quiet
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_describe <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--all --tags --contains --abbrev= --candidates=
			--exact-match --debug --long --match --always
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #007800;">__git_diff_common_options</span>=<span style="color: #ff0000;">&quot;--stat --numstat --shortstat --summary
			--patch-with-stat --name-only --name-status --color
			--no-color --color-words --no-renames --check
			--full-index --binary --abbrev --diff-filter=
			--find-copies-harder
			--text --ignore-space-at-eol --ignore-space-change
			--ignore-all-space --exit-code --quiet --ext-diff
			--no-ext-diff
			--no-prefix --src-prefix= --dst-prefix=
			--inter-hunk-context=
			--patience
			--raw
			--dirstat --dirstat= --dirstat-by-file
			--dirstat-by-file= --cumulative
&quot;</span>
&nbsp;
_git_diff <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_has_doubledash <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--cached --staged --pickaxe-all --pickaxe-regex
			--base --ours --theirs --no-index
			<span style="color: #007800;">$__git_diff_common_options</span>
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__git_complete_file
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #007800;">__git_mergetools_common</span>=<span style="color: #ff0000;">&quot;diffuse ecmerge emerge kdiff3 meld opendiff
			tkdiff vimdiff gvimdiff xxdiff araxis p4merge
&quot;</span>
&nbsp;
_git_difftool <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_has_doubledash <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">--tool</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$__git_mergetools_common</span> kompare&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--tool=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--cached --staged --pickaxe-all --pickaxe-regex
			--base --ours --theirs
			--no-renames --diff-filter= --find-copies-harder
			--relative --ignore-submodules
			--tool=&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__git_complete_file
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #007800;">__git_fetch_options</span>=<span style="color: #ff0000;">&quot;
	--quiet --verbose --append --upload-pack --force --keep --depth=
	--tags --no-tags --all --prune --dry-run
&quot;</span>
&nbsp;
_git_fetch <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$__git_fetch_options</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__git_complete_remote_or_refspec
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_format_patch <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">--thread</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			deep shallow
			&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--thread=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--stdout --attach --no-attach --thread --thread=
			--output-directory
			--numbered --start-number
			--numbered-files
			--keep-subject
			--signoff --signature --no-signature
			--in-reply-to= --cc=
			--full-index --binary
			--not --all
			--cover-letter
			--no-prefix --src-prefix= --dst-prefix=
			--inline --suffix= --ignore-if-in-upstream
			--subject-prefix=
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__git_complete_revlist
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_fsck <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--tags --root --unreachable --cache --no-reflogs --full
			--strict --verbose --lost-found
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_gc <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--prune --aggressive&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_gitk <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	_gitk
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_grep <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_has_doubledash <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--cached
			--text --ignore-case --word-regexp --invert-match
			--full-name
			--extended-regexp --basic-regexp --fixed-strings
			--files-with-matches --name-only
			--files-without-match
			--max-depth
			--count
			--and --or --not --all-match
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
&nbsp;
	__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_help <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--all --info --man --web&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__git_compute_all_commands
	__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$__git_all_commands</span>
		attributes cli core-tutorial cvs-migration
		diffcore gitk glossary hooks ignore modules
		repository-layout tutorial tutorial-2
		workflows
		&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_init <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">--shared</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			false true umask group all world everybody
			&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--shared=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--quiet --bare --template= --shared --shared=&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_ls_files <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_has_doubledash <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--cached --deleted --modified --others --ignored
			--stage --directory --no-empty-directory --unmerged
			--killed --exclude= --exclude-from=
			--exclude-per-directory= --exclude-standard
			--error-unmatch --with-tree= --full-name
			--abbrev --ignored --exclude-per-directory
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_ls_remote <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_remotes)</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_ls_tree <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_complete_file
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Options that go well for log, shortlog and gitk</span>
<span style="color: #007800;">__git_log_common_options</span>=<span style="color: #ff0000;">&quot;
	--not --all
	--branches --tags --remotes
	--first-parent --merges --no-merges
	--max-count=
	--max-age= --since= --after=
	--min-age= --until= --before=
&quot;</span>
<span style="color: #666666; font-style: italic;"># Options that go well for log and gitk (not shortlog)</span>
<span style="color: #007800;">__git_log_gitk_options</span>=<span style="color: #ff0000;">&quot;
	--dense --sparse --full-history
	--simplify-merges --simplify-by-decoration
	--left-right
&quot;</span>
<span style="color: #666666; font-style: italic;"># Options that go well for log and shortlog (not gitk)</span>
<span style="color: #007800;">__git_log_shortlog_options</span>=<span style="color: #ff0000;">&quot;
	--author= --committer= --grep=
	--all-match
&quot;</span>
&nbsp;
<span style="color: #007800;">__git_log_pretty_formats</span>=<span style="color: #ff0000;">&quot;oneline short medium full fuller email raw format:&quot;</span>
<span style="color: #007800;">__git_log_date_formats</span>=<span style="color: #ff0000;">&quot;relative iso8601 rfc2822 short local default raw&quot;</span>
&nbsp;
_git_log <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_has_doubledash <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">g</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(git rev-parse --git-dir 2&gt;/dev/null)</span>&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">merge</span>=<span style="color: #ff0000;">&quot;&quot;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-f</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$g</span>/MERGE_HEAD&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #007800;">merge</span>=<span style="color: #ff0000;">&quot;--merge&quot;</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">--pretty</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$__git_log_pretty_formats</span>
			&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--pretty=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #660033;">--format</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$__git_log_pretty_formats</span>
			&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--format=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #660033;">--date</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$__git_log_date_formats</span>&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--date=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #660033;">--decorate</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;long short&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--decorate=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			<span style="color: #007800;">$__git_log_common_options</span>
			<span style="color: #007800;">$__git_log_shortlog_options</span>
			<span style="color: #007800;">$__git_log_gitk_options</span>
			--root --topo-order --date-order --reverse
			--follow --full-diff
			--abbrev-commit --abbrev=
			--relative-date --date=
			--pretty= --format= --oneline
			--cherry-pick
			--graph
			--decorate --decorate=
			--walk-reflogs
			--parents --children
			<span style="color: #007800;">$merge</span>
			<span style="color: #007800;">$__git_diff_common_options</span>
			--pickaxe-all --pickaxe-regex
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__git_complete_revlist
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #007800;">__git_merge_options</span>=<span style="color: #ff0000;">&quot;
	--no-commit --no-stat --log --no-log --squash --strategy
	--commit --stat --no-squash --ff --no-ff --ff-only
&quot;</span>
&nbsp;
_git_merge <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_complete_strategy <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$__git_merge_options</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_mergetool <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">--tool</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$__git_mergetools_common</span> tortoisemerge&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--tool=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--tool=&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_merge_base <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_mv <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--dry-run&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_name_rev <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__gitcomp <span style="color: #ff0000;">&quot;--tags --all --stdin&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_notes <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">subcommands</span>=<span style="color: #ff0000;">&quot;edit show&quot;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_find_on_cmdline &quot;$subcommands&quot;)</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$subcommands</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD-1]}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">-m</span><span style="color: #000000; font-weight: bold;">|</span>-F<span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_pull <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_complete_strategy <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--rebase --no-rebase
			<span style="color: #007800;">$__git_merge_options</span>
			<span style="color: #007800;">$__git_fetch_options</span>
		&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__git_complete_remote_or_refspec
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_push <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD-1]}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--repo<span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_remotes)</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">--repo</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_remotes)</span>&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--repo=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--all --mirror --tags --dry-run --force --verbose
			--receive-pack= --repo=
		&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__git_complete_remote_or_refspec
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_rebase <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span> <span style="color: #007800;">dir</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__gitdir)</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dir</span>&quot;</span><span style="color: #000000; font-weight: bold;">/</span>rebase-apply <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dir</span>&quot;</span><span style="color: #000000; font-weight: bold;">/</span>rebase-merge <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		__gitcomp <span style="color: #ff0000;">&quot;--continue --skip --abort&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
	__git_complete_strategy <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">--whitespace</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$__git_whitespacelist</span>&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--whitespace=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--onto --merge --strategy --interactive
			--preserve-merges --stat --no-stat
			--committer-date-is-author-date --ignore-date
			--ignore-whitespace --whitespace=
			--autosquash
			&quot;</span>
&nbsp;
		<span style="color: #7a0874; font-weight: bold;">return</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #007800;">__git_send_email_confirm_options</span>=<span style="color: #ff0000;">&quot;always never auto cc compose&quot;</span>
<span style="color: #007800;">__git_send_email_suppresscc_options</span>=<span style="color: #ff0000;">&quot;author self cc bodycc sob cccmd body all&quot;</span>
&nbsp;
_git_send_email <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">--confirm</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			<span style="color: #007800;">$__git_send_email_confirm_options</span>
			&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--confirm=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #660033;">--suppress-cc</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			<span style="color: #007800;">$__git_send_email_suppresscc_options</span>
			&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--suppress-cc=}</span>&quot;</span>
&nbsp;
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #660033;">--smtp-encryption</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;ssl tls&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--smtp-encryption=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--annotate --bcc --cc --cc-cmd --chain-reply-to
			--compose --confirm= --dry-run --envelope-sender
			--from --identity
			--in-reply-to --no-chain-reply-to --no-signed-off-by-cc
			--no-suppress-from --no-thread --quiet
			--signed-off-by-cc --smtp-pass --smtp-server
			--smtp-server-port --smtp-encryption= --smtp-user
			--subject --suppress-cc= --suppress-from --thread --to
			--validate --no-validate&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_stage <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	_git_add
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
__git_config_get_set_variables <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> prevword word <span style="color: #007800;">config_file</span>= <span style="color: #007800;">c</span>=<span style="color: #007800;">$COMP_CWORD</span>
	<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$c</span> <span style="color: #660033;">-gt</span> <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #007800;">word</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[c]}</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$word</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		<span style="color: #660033;">--global</span><span style="color: #000000; font-weight: bold;">|</span>--system<span style="color: #000000; font-weight: bold;">|</span>--file=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #007800;">config_file</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$word</span>&quot;</span>
			<span style="color: #7a0874; font-weight: bold;">break</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #660033;">-f</span><span style="color: #000000; font-weight: bold;">|</span>--file<span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #007800;">config_file</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$word</span> <span style="color: #007800;">$prevword</span>&quot;</span>
			<span style="color: #7a0874; font-weight: bold;">break</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
		<span style="color: #007800;">prevword</span>=<span style="color: #007800;">$word</span>
		<span style="color: #007800;">c</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>--c<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
	<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
	<span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #660033;">--git-dir</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__gitdir)</span>&quot;</span> config <span style="color: #007800;">$config_file</span> <span style="color: #660033;">--list</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">|</span>
	<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #c20cb9; font-weight: bold;">read</span> line
	<span style="color: #000000; font-weight: bold;">do</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$line</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		<span style="color: #000000; font-weight: bold;">*</span>.<span style="color: #000000; font-weight: bold;">*</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${line/=*/}</span>&quot;</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_config <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">prv</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD-1]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$prv</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	branch.<span style="color: #000000; font-weight: bold;">*</span>.remote<span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_remotes)</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	branch.<span style="color: #000000; font-weight: bold;">*</span>.merge<span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	remote.<span style="color: #000000; font-weight: bold;">*</span>.fetch<span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">remote</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${prv#remote.}</span>&quot;</span>
		<span style="color: #007800;">remote</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${remote%.fetch}</span>&quot;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs_remotes &quot;$remote&quot;)</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	remote.<span style="color: #000000; font-weight: bold;">*</span>.push<span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">remote</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${prv#remote.}</span>&quot;</span>
		<span style="color: #007800;">remote</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${remote%.push}</span>&quot;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(git --git-dir=&quot;$(__gitdir)</span>&quot;</span> \
			for-each-ref <span style="color: #660033;">--format</span>=<span style="color: #ff0000;">'%(refname):%(refname)'</span> \
			refs<span style="color: #000000; font-weight: bold;">/</span>heads<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
		return
		;;
	pull.twohead|pull.octopus)
		__git_compute_merge_strategies
		__gitcomp &quot;</span><span style="color: #007800;">$__git_merge_strategies</span><span style="color: #ff0000;">&quot;
		return
		;;
	color.branch|color.diff|color.interactive|<span style="color: #000099; font-weight: bold;">\
</span>	color.showbranch|color.status|color.ui)
		__gitcomp &quot;</span>always never auto<span style="color: #ff0000;">&quot;
		return
		;;
	color.pager)
		__gitcomp &quot;</span><span style="color: #c20cb9; font-weight: bold;">false</span> <span style="color: #c20cb9; font-weight: bold;">true</span><span style="color: #ff0000;">&quot;
		return
		;;
	color.*.*)
		__gitcomp &quot;</span>
			normal black <span style="color: #c20cb9; font-weight: bold;">red</span> green yellow blue magenta cyan white
			bold dim ul blink reverse
			<span style="color: #ff0000;">&quot;
		return
		;;
	help.format)
		__gitcomp &quot;</span><span style="color: #c20cb9; font-weight: bold;">man</span> info web html<span style="color: #ff0000;">&quot;
		return
		;;
	log.date)
		__gitcomp &quot;</span><span style="color: #007800;">$__git_log_date_formats</span><span style="color: #ff0000;">&quot;
		return
		;;
	sendemail.aliasesfiletype)
		__gitcomp &quot;</span>mutt mailrc pine elm gnus<span style="color: #ff0000;">&quot;
		return
		;;
	sendemail.confirm)
		__gitcomp &quot;</span><span style="color: #007800;">$__git_send_email_confirm_options</span><span style="color: #ff0000;">&quot;
		return
		;;
	sendemail.suppresscc)
		__gitcomp &quot;</span><span style="color: #007800;">$__git_send_email_suppresscc_options</span><span style="color: #ff0000;">&quot;
		return
		;;
	--get|--get-all|--unset|--unset-all)
		__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_config_get_set_variables<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
		return
		;;
	*.*)
		COMPREPLY=()
		return
		;;
	esac
	case &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot; in
	--*)
		__gitcomp &quot;</span>
			<span style="color: #660033;">--global</span> <span style="color: #660033;">--system</span> <span style="color: #660033;">--file</span>=
			<span style="color: #660033;">--list</span> <span style="color: #660033;">--replace-all</span>
			<span style="color: #660033;">--get</span> <span style="color: #660033;">--get-all</span> <span style="color: #660033;">--get-regexp</span>
			<span style="color: #660033;">--add</span> <span style="color: #660033;">--unset</span> <span style="color: #660033;">--unset-all</span>
			<span style="color: #660033;">--remove-section</span> <span style="color: #660033;">--rename-section</span>
			<span style="color: #ff0000;">&quot;
		return
		;;
	branch.*.*)
		local pfx=&quot;</span><span style="color: #800000;">${cur%.*}</span>.<span style="color: #ff0000;">&quot;
		cur=&quot;</span><span style="color: #800000;">${cur##*.}</span><span style="color: #ff0000;">&quot;
		__gitcomp &quot;</span>remote merge mergeoptions rebase<span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		return
		;;
	branch.*)
		local pfx=&quot;</span><span style="color: #800000;">${cur%.*}</span>.<span style="color: #ff0000;">&quot;
		cur=&quot;</span><span style="color: #800000;">${cur#*.}</span><span style="color: #ff0000;">&quot;
		__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_heads<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot; &quot;</span>.<span style="color: #ff0000;">&quot;
		return
		;;
	guitool.*.*)
		local pfx=&quot;</span><span style="color: #800000;">${cur%.*}</span>.<span style="color: #ff0000;">&quot;
		cur=&quot;</span><span style="color: #800000;">${cur##*.}</span><span style="color: #ff0000;">&quot;
		__gitcomp &quot;</span>
			argprompt cmd confirm needsfile noconsole norescan
			prompt revprompt revunmerged title
			<span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		return
		;;
	difftool.*.*)
		local pfx=&quot;</span><span style="color: #800000;">${cur%.*}</span>.<span style="color: #ff0000;">&quot;
		cur=&quot;</span><span style="color: #800000;">${cur##*.}</span><span style="color: #ff0000;">&quot;
		__gitcomp &quot;</span>cmd path<span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		return
		;;
	man.*.*)
		local pfx=&quot;</span><span style="color: #800000;">${cur%.*}</span>.<span style="color: #ff0000;">&quot;
		cur=&quot;</span><span style="color: #800000;">${cur##*.}</span><span style="color: #ff0000;">&quot;
		__gitcomp &quot;</span>cmd path<span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		return
		;;
	mergetool.*.*)
		local pfx=&quot;</span><span style="color: #800000;">${cur%.*}</span>.<span style="color: #ff0000;">&quot;
		cur=&quot;</span><span style="color: #800000;">${cur##*.}</span><span style="color: #ff0000;">&quot;
		__gitcomp &quot;</span>cmd path trustExitCode<span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		return
		;;
	pager.*)
		local pfx=&quot;</span><span style="color: #800000;">${cur%.*}</span>.<span style="color: #ff0000;">&quot;
		cur=&quot;</span><span style="color: #800000;">${cur#*.}</span><span style="color: #ff0000;">&quot;
		__git_compute_all_commands
		__gitcomp &quot;</span><span style="color: #007800;">$__git_all_commands</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		return
		;;
	remote.*.*)
		local pfx=&quot;</span><span style="color: #800000;">${cur%.*}</span>.<span style="color: #ff0000;">&quot;
		cur=&quot;</span><span style="color: #800000;">${cur##*.}</span><span style="color: #ff0000;">&quot;
		__gitcomp &quot;</span>
			url proxy fetch push mirror skipDefaultUpdate
			receivepack uploadpack tagopt pushurl
			<span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		return
		;;
	remote.*)
		local pfx=&quot;</span><span style="color: #800000;">${cur%.*}</span>.<span style="color: #ff0000;">&quot;
		cur=&quot;</span><span style="color: #800000;">${cur#*.}</span><span style="color: #ff0000;">&quot;
		__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_remotes<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot; &quot;</span>.<span style="color: #ff0000;">&quot;
		return
		;;
	url.*.*)
		local pfx=&quot;</span><span style="color: #800000;">${cur%.*}</span>.<span style="color: #ff0000;">&quot;
		cur=&quot;</span><span style="color: #800000;">${cur##*.}</span><span style="color: #ff0000;">&quot;
		__gitcomp &quot;</span>insteadOf pushInsteadOf<span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$pfx</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot;
		return
		;;
	esac
	__gitcomp &quot;</span>
		add.ignore-errors
		alias.
		apply.ignorewhitespace
		apply.whitespace
		branch.autosetupmerge
		branch.autosetuprebase
		clean.requireForce
		color.branch
		color.branch.current
		color.branch.local
		color.branch.plain
		color.branch.remote
		color.diff
		color.diff.commit
		color.diff.frag
		color.diff.meta
		color.diff.new
		color.diff.old
		color.diff.plain
		color.diff.whitespace
		color.grep
		color.grep.external
		color.grep.match
		color.interactive
		color.interactive.header
		color.interactive.help
		color.interactive.prompt
		color.pager
		color.showbranch
		color.status
		color.status.added
		color.status.changed
		color.status.header
		color.status.nobranch
		color.status.untracked
		color.status.updated
		color.ui
		commit.template
		core.autocrlf
		core.bare
		core.compression
		core.createObject
		core.deltaBaseCacheLimit
		core.editor
		core.excludesfile
		core.fileMode
		core.fsyncobjectfiles
		core.gitProxy
		core.ignoreCygwinFSTricks
		core.ignoreStat
		core.logAllRefUpdates
		core.loosecompression
		core.packedGitLimit
		core.packedGitWindowSize
		core.pager
		core.preferSymlinkRefs
		core.preloadindex
		core.quotepath
		core.repositoryFormatVersion
		core.safecrlf
		core.sharedRepository
		core.symlinks
		core.trustctime
		core.warnAmbiguousRefs
		core.whitespace
		core.worktree
		diff.autorefreshindex
		diff.external
		diff.mnemonicprefix
		diff.renameLimit
		diff.renameLimit.
		diff.renames
		diff.suppressBlankEmpty
		diff.tool
		diff.wordRegex
		difftool.
		difftool.prompt
		fetch.unpackLimit
		format.attach
		format.cc
		format.headers
		format.numbered
		format.pretty
		format.signature
		format.signoff
		format.subjectprefix
		format.suffix
		format.thread
		gc.aggressiveWindow
		gc.auto
		gc.autopacklimit
		gc.packrefs
		gc.pruneexpire
		gc.reflogexpire
		gc.reflogexpireunreachable
		gc.rerereresolved
		gc.rerereunresolved
		gitcvs.allbinary
		gitcvs.commitmsgannotation
		gitcvs.dbTableNamePrefix
		gitcvs.dbdriver
		gitcvs.dbname
		gitcvs.dbpass
		gitcvs.dbuser
		gitcvs.enabled
		gitcvs.logfile
		gitcvs.usecrlfattr
		guitool.
		gui.blamehistoryctx
		gui.commitmsgwidth
		gui.copyblamethreshold
		gui.diffcontext
		gui.encoding
		gui.fastcopyblame
		gui.matchtrackingbranch
		gui.newbranchtemplate
		gui.pruneduringfetch
		gui.spellingdictionary
		gui.trustmtime
		help.autocorrect
		help.browser
		help.format
		http.lowSpeedLimit
		http.lowSpeedTime
		http.maxRequests
		http.noEPSV
		http.proxy
		http.sslCAInfo
		http.sslCAPath
		http.sslCert
		http.sslKey
		http.sslVerify
		i18n.commitEncoding
		i18n.logOutputEncoding
		imap.folder
		imap.host
		imap.pass
		imap.port
		imap.preformattedHTML
		imap.sslverify
		imap.tunnel
		imap.user
		instaweb.browser
		instaweb.httpd
		instaweb.local
		instaweb.modulepath
		instaweb.port
		interactive.singlekey
		log.date
		log.showroot
		mailmap.file
		man.
		man.viewer
		merge.conflictstyle
		merge.log
		merge.renameLimit
		merge.stat
		merge.tool
		merge.verbosity
		mergetool.
		mergetool.keepBackup
		mergetool.prompt
		pack.compression
		pack.deltaCacheLimit
		pack.deltaCacheSize
		pack.depth
		pack.indexVersion
		pack.packSizeLimit
		pack.threads
		pack.window
		pack.windowMemory
		pager.
		pull.octopus
		pull.twohead
		push.default
		rebase.stat
		receive.denyCurrentBranch
		receive.denyDeletes
		receive.denyNonFastForwards
		receive.fsckObjects
		receive.unpackLimit
		repack.usedeltabaseoffset
		rerere.autoupdate
		rerere.enabled
		sendemail.aliasesfile
		sendemail.aliasesfiletype
		sendemail.bcc
		sendemail.cc
		sendemail.cccmd
		sendemail.chainreplyto
		sendemail.confirm
		sendemail.envelopesender
		sendemail.multiedit
		sendemail.signedoffbycc
		sendemail.smtpencryption
		sendemail.smtppass
		sendemail.smtpserver
		sendemail.smtpserverport
		sendemail.smtpuser
		sendemail.suppresscc
		sendemail.suppressfrom
		sendemail.thread
		sendemail.to
		sendemail.validate
		showbranch.default
		status.relativePaths
		status.showUntrackedFiles
		tar.umask
		transfer.unpackLimit
		url.
		user.email
		user.name
		user.signingkey
		web.browser
		branch. remote.
	<span style="color: #ff0000;">&quot;
}
&nbsp;
_git_remote ()
{
	local subcommands=&quot;</span>add rename <span style="color: #c20cb9; font-weight: bold;">rm</span> show <span style="color: #c20cb9; font-weight: bold;">prune</span> update set-head<span style="color: #ff0000;">&quot;
	local subcommand=&quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_find_on_cmdline <span style="color: #ff0000;">&quot;<span style="color: #007800;">$subcommands</span>&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
	if [ -z &quot;</span><span style="color: #007800;">$subcommand</span><span style="color: #ff0000;">&quot; ]; then
		__gitcomp &quot;</span><span style="color: #007800;">$subcommands</span><span style="color: #ff0000;">&quot;
		return
	fi
&nbsp;
	case &quot;</span><span style="color: #007800;">$subcommand</span><span style="color: #ff0000;">&quot; in
	rename|rm|show|prune)
		__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_remotes<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
		;;
	update)
		local i c='' IFS=$'<span style="color: #000099; font-weight: bold;">\n</span>'
		for i in <span style="color: #007800;">$(git --git-dir=&quot;$(__gitdir)</span>&quot;</span> config <span style="color: #660033;">--get-regexp</span> <span style="color: #ff0000;">&quot;remotes\..*&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null<span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span>
			<span style="color: #007800;">i</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${i#remotes.}</span>&quot;</span>
			<span style="color: #007800;">c</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$c</span> <span style="color: #007800;">${i/ */}</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">done</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$c</span>&quot;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_replace <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_reset <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_has_doubledash <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--merge --mixed --hard --soft --patch&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_revert <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--edit --mainline --no-edit --no-commit --signoff&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_refs)</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_rm <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_has_doubledash <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--cached --dry-run --ignore-unmatch --quiet&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_shortlog <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_has_doubledash <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			<span style="color: #007800;">$__git_log_common_options</span>
			<span style="color: #007800;">$__git_log_shortlog_options</span>
			--numbered --summary
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__git_complete_revlist
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_show <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	__git_has_doubledash <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">return</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #660033;">--pretty</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$__git_log_pretty_formats</span>
			&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--pretty=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #660033;">--format</span>=<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$__git_log_pretty_formats</span>
			&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${cur##--format=}</span>&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;--pretty= --format= --abbrev-commit --oneline
			<span style="color: #007800;">$__git_diff_common_options</span>
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__git_complete_file
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_show_branch <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
		__gitcomp <span style="color: #ff0000;">&quot;
			--all --remotes --topo-order --current --more=
			--list --independent --merge-base --no-name
			--color --no-color
			--sha1-name --sparse --topics --reflog
			&quot;</span>
		<span style="color: #7a0874; font-weight: bold;">return</span>
		<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
	__git_complete_revlist
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
_git_stash <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">cur</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${COMP_WORDS[COMP_CWORD]}</span>&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">save_opts</span>=<span style="color: #ff0000;">'--keep-index --no-keep-index --quiet --patch'</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">subcommands</span>=<span style="color: #ff0000;">'save list show apply clear drop pop create branch'</span>
	<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">subcommand</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_find_on_cmdline &quot;$subcommands&quot;)</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$subcommand</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$save_opts</span>&quot;</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(__git_find_on_cmdline &quot;$save_opts&quot;)</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
				__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$subcommands</span>&quot;</span>
			<span style="color: #000000; font-weight: bold;">else</span>
				<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #000000; font-weight: bold;">fi</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		<span style="color: #000000; font-weight: bold;">esac</span>
	<span style="color: #000000; font-weight: bold;">else</span>
		<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$subcommand</span>,<span style="color: #007800;">$cur</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
		save,--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$save_opts</span>&quot;</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		apply,--<span style="color: #000000; font-weight: bold;">*|</span>pop,--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			__gitcomp <span style="color: #ff0000;">&quot;--index --quiet&quot;</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		show,--<span style="color: #000000; font-weight: bold;">*|</span>drop,--<span style="color: #000000; font-weight: bold;">*|</span>branch,--<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #007800;">COMPREPLY</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			<span style="color: #000000; font-weight: bold;">;;</span>
		show,<span style="color: #000000; font-weight: bold;">*|</span>apply,<span style="color: #000000; font-weight: bold;">*|</span>drop,<span style="color: #000000; font-weight: bold;">*|</span>pop,<span style="color: #000000; font-weight: bold;">*|</span>branch,<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
			__gitcomp <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(git --git-dir=&quot;$(__gitdir)</span>&quot;</span> stash list \
					<span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-n</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/:.*//p'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
			;;
		*)
			COMPREPLY=()
			;;
		esac
	fi
}
&nbsp;
_git_submodule ()
{
	__git_has_doubledash &amp;&amp; return
&nbsp;
	local subcommands=&quot;</span>add status init update summary foreach <span style="color: #c20cb9; font-weight: bold;">sync</span><span style="color: #ff0000;">&quot;
	if [ -z &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_find_on_cmdline <span style="color: #ff0000;">&quot;<span style="color: #007800;">$subcommands</span>&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; ]; then
		local cur=&quot;</span><span style="color: #800000;">${COMP_WORDS[COMP_CWORD]}</span><span style="color: #ff0000;">&quot;
		case &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot; in
		--*)
			__gitcomp &quot;</span><span style="color: #660033;">--quiet</span> <span style="color: #660033;">--cached</span><span style="color: #ff0000;">&quot;
			;;
		*)
			__gitcomp &quot;</span><span style="color: #007800;">$subcommands</span><span style="color: #ff0000;">&quot;
			;;
		esac
		return
	fi
}
&nbsp;
_git_svn ()
{
	local subcommands=&quot;</span>
		init fetch clone rebase dcommit log find-rev
		set-tree commit-diff info create-ignore propget
		proplist show-ignore show-externals branch tag blame
		migrate mkdirs reset <span style="color: #c20cb9; font-weight: bold;">gc</span>
		<span style="color: #ff0000;">&quot;
	local subcommand=&quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_find_on_cmdline <span style="color: #ff0000;">&quot;<span style="color: #007800;">$subcommands</span>&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
	if [ -z &quot;</span><span style="color: #007800;">$subcommand</span><span style="color: #ff0000;">&quot; ]; then
		__gitcomp &quot;</span><span style="color: #007800;">$subcommands</span><span style="color: #ff0000;">&quot;
	else
		local remote_opts=&quot;</span><span style="color: #660033;">--username</span>= <span style="color: #660033;">--config-dir</span>= <span style="color: #660033;">--no-auth-cache</span><span style="color: #ff0000;">&quot;
		local fc_opts=&quot;</span>
			<span style="color: #660033;">--follow-parent</span> <span style="color: #660033;">--authors-file</span>= <span style="color: #660033;">--repack</span>=
			<span style="color: #660033;">--no-metadata</span> <span style="color: #660033;">--use-svm-props</span> <span style="color: #660033;">--use-svnsync-props</span>
			<span style="color: #660033;">--log-window-size</span>= <span style="color: #660033;">--no-checkout</span> <span style="color: #660033;">--quiet</span>
			<span style="color: #660033;">--repack-flags</span> <span style="color: #660033;">--use-log-author</span> <span style="color: #660033;">--localtime</span>
			<span style="color: #660033;">--ignore-paths</span>= <span style="color: #007800;">$remote_opts</span>
			<span style="color: #ff0000;">&quot;
		local init_opts=&quot;</span>
			<span style="color: #660033;">--template</span>= <span style="color: #660033;">--shared</span>= <span style="color: #660033;">--trunk</span>= <span style="color: #660033;">--tags</span>=
			<span style="color: #660033;">--branches</span>= <span style="color: #660033;">--stdlayout</span> <span style="color: #660033;">--minimize-url</span>
			<span style="color: #660033;">--no-metadata</span> <span style="color: #660033;">--use-svm-props</span> <span style="color: #660033;">--use-svnsync-props</span>
			<span style="color: #660033;">--rewrite-root</span>= <span style="color: #660033;">--prefix</span>= <span style="color: #660033;">--use-log-author</span>
			<span style="color: #660033;">--add-author-from</span> <span style="color: #007800;">$remote_opts</span>
			<span style="color: #ff0000;">&quot;
		local cmt_opts=&quot;</span>
			<span style="color: #660033;">--edit</span> <span style="color: #660033;">--rmdir</span> <span style="color: #660033;">--find-copies-harder</span> <span style="color: #660033;">--copy-similarity</span>=
			<span style="color: #ff0000;">&quot;
&nbsp;
		local cur=&quot;</span><span style="color: #800000;">${COMP_WORDS[COMP_CWORD]}</span><span style="color: #ff0000;">&quot;
		case &quot;</span><span style="color: #007800;">$subcommand</span>,<span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot; in
		fetch,--*)
			__gitcomp &quot;</span><span style="color: #660033;">--revision</span>= <span style="color: #660033;">--fetch-all</span> <span style="color: #007800;">$fc_opts</span><span style="color: #ff0000;">&quot;
			;;
		clone,--*)
			__gitcomp &quot;</span><span style="color: #660033;">--revision</span>= <span style="color: #007800;">$fc_opts</span> <span style="color: #007800;">$init_opts</span><span style="color: #ff0000;">&quot;
			;;
		init,--*)
			__gitcomp &quot;</span><span style="color: #007800;">$init_opts</span><span style="color: #ff0000;">&quot;
			;;
		dcommit,--*)
			__gitcomp &quot;</span>
				<span style="color: #660033;">--merge</span> <span style="color: #660033;">--strategy</span>= <span style="color: #660033;">--verbose</span> <span style="color: #660033;">--dry-run</span>
				<span style="color: #660033;">--fetch-all</span> <span style="color: #660033;">--no-rebase</span> <span style="color: #660033;">--commit-url</span>
				<span style="color: #660033;">--revision</span> <span style="color: #007800;">$cmt_opts</span> <span style="color: #007800;">$fc_opts</span>
				<span style="color: #ff0000;">&quot;
			;;
		set-tree,--*)
			__gitcomp &quot;</span><span style="color: #660033;">--stdin</span> <span style="color: #007800;">$cmt_opts</span> <span style="color: #007800;">$fc_opts</span><span style="color: #ff0000;">&quot;
			;;
		create-ignore,--*|propget,--*|proplist,--*|show-ignore,--*|<span style="color: #000099; font-weight: bold;">\
</span>		show-externals,--*|mkdirs,--*)
			__gitcomp &quot;</span><span style="color: #660033;">--revision</span>=<span style="color: #ff0000;">&quot;
			;;
		log,--*)
			__gitcomp &quot;</span>
				<span style="color: #660033;">--limit</span>= <span style="color: #660033;">--revision</span>= <span style="color: #660033;">--verbose</span> <span style="color: #660033;">--incremental</span>
				<span style="color: #660033;">--oneline</span> <span style="color: #660033;">--show-commit</span> <span style="color: #660033;">--non-recursive</span>
				<span style="color: #660033;">--authors-file</span>= <span style="color: #660033;">--color</span>
				<span style="color: #ff0000;">&quot;
			;;
		rebase,--*)
			__gitcomp &quot;</span>
				<span style="color: #660033;">--merge</span> <span style="color: #660033;">--verbose</span> <span style="color: #660033;">--strategy</span>= <span style="color: #660033;">--local</span>
				<span style="color: #660033;">--fetch-all</span> <span style="color: #660033;">--dry-run</span> <span style="color: #007800;">$fc_opts</span>
				<span style="color: #ff0000;">&quot;
			;;
		commit-diff,--*)
			__gitcomp &quot;</span><span style="color: #660033;">--message</span>= <span style="color: #660033;">--file</span>= <span style="color: #660033;">--revision</span>= <span style="color: #007800;">$cmt_opts</span><span style="color: #ff0000;">&quot;
			;;
		info,--*)
			__gitcomp &quot;</span><span style="color: #660033;">--url</span><span style="color: #ff0000;">&quot;
			;;
		branch,--*)
			__gitcomp &quot;</span><span style="color: #660033;">--dry-run</span> <span style="color: #660033;">--message</span> <span style="color: #660033;">--tag</span><span style="color: #ff0000;">&quot;
			;;
		tag,--*)
			__gitcomp &quot;</span><span style="color: #660033;">--dry-run</span> <span style="color: #660033;">--message</span><span style="color: #ff0000;">&quot;
			;;
		blame,--*)
			__gitcomp &quot;</span><span style="color: #660033;">--git-format</span><span style="color: #ff0000;">&quot;
			;;
		migrate,--*)
			__gitcomp &quot;</span>
				<span style="color: #660033;">--config-dir</span>= <span style="color: #660033;">--ignore-paths</span>= <span style="color: #660033;">--minimize</span>
				<span style="color: #660033;">--no-auth-cache</span> <span style="color: #660033;">--username</span>=
				<span style="color: #ff0000;">&quot;
			;;
		reset,--*)
			__gitcomp &quot;</span><span style="color: #660033;">--revision</span>= <span style="color: #660033;">--parent</span><span style="color: #ff0000;">&quot;
			;;
		*)
			COMPREPLY=()
			;;
		esac
	fi
}
&nbsp;
_git_tag ()
{
	local i c=1 f=0
	while [ <span style="color: #007800;">$c</span> -lt <span style="color: #007800;">$COMP_CWORD</span> ]; do
		i=&quot;</span><span style="color: #800000;">${COMP_WORDS[c]}</span><span style="color: #ff0000;">&quot;
		case &quot;</span><span style="color: #007800;">$i</span><span style="color: #ff0000;">&quot; in
		-d|-v)
			__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_tags<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
			return
			;;
		-f)
			f=1
			;;
		esac
		c=<span style="color: #007800;">$((++c)</span>)
	done
&nbsp;
	case &quot;</span><span style="color: #800000;">${COMP_WORDS[COMP_CWORD-1]}</span><span style="color: #ff0000;">&quot; in
	-m|-F)
		COMPREPLY=()
		;;
	-*|tag)
		if [ <span style="color: #007800;">$f</span> = 1 ]; then
			__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_tags<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
		else
			COMPREPLY=()
		fi
		;;
	*)
		__gitcomp &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_refs<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
		;;
	esac
}
&nbsp;
_git_whatchanged ()
{
	_git_log
}
&nbsp;
_git ()
{
	local i c=1 command __git_dir
&nbsp;
	if [[ -n <span style="color: #007800;">${ZSH_VERSION-}</span> ]]; then
		emulate -L bash
		setopt KSH_TYPESET
	fi
&nbsp;
	while [ <span style="color: #007800;">$c</span> -lt <span style="color: #007800;">$COMP_CWORD</span> ]; do
		i=&quot;</span><span style="color: #800000;">${COMP_WORDS[c]}</span><span style="color: #ff0000;">&quot;
		case &quot;</span><span style="color: #007800;">$i</span><span style="color: #ff0000;">&quot; in
		--git-dir=*) __git_dir=&quot;</span><span style="color: #800000;">${i#--git-dir=}</span><span style="color: #ff0000;">&quot; ;;
		--bare)      __git_dir=&quot;</span>.<span style="color: #ff0000;">&quot; ;;
		--version|-p|--paginate) ;;
		--help) command=&quot;</span><span style="color: #7a0874; font-weight: bold;">help</span><span style="color: #ff0000;">&quot;; break ;;
		*) command=&quot;</span><span style="color: #007800;">$i</span><span style="color: #ff0000;">&quot;; break ;;
		esac
		c=<span style="color: #007800;">$((++c)</span>)
	done
&nbsp;
	if [ -z &quot;</span><span style="color: #007800;">$command</span><span style="color: #ff0000;">&quot; ]; then
		case &quot;</span><span style="color: #800000;">${COMP_WORDS[COMP_CWORD]}</span><span style="color: #ff0000;">&quot; in
		--*)   __gitcomp &quot;</span>
			<span style="color: #660033;">--paginate</span>
			<span style="color: #660033;">--no-pager</span>
			<span style="color: #660033;">--git-dir</span>=
			<span style="color: #660033;">--bare</span>
			<span style="color: #660033;">--version</span>
			<span style="color: #660033;">--exec-path</span>
			<span style="color: #660033;">--html-path</span>
			<span style="color: #660033;">--work-tree</span>=
			<span style="color: #660033;">--help</span>
			<span style="color: #ff0000;">&quot;
			;;
		*)     __git_compute_porcelain_commands
		       __gitcomp &quot;</span><span style="color: #007800;">$__git_porcelain_commands</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_aliases<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; ;;
		esac
		return
	fi
&nbsp;
	local completion_func=&quot;</span>_git_<span style="color: #800000;">${command//-/_}</span><span style="color: #ff0000;">&quot;
	declare -f <span style="color: #007800;">$completion_func</span> &gt;/dev/null &amp;&amp; <span style="color: #007800;">$completion_func</span> &amp;&amp; return
&nbsp;
	local expansion=<span style="color: #007800;">$(__git_aliased_command &quot;$command&quot;)</span>
	if [ -n &quot;</span><span style="color: #007800;">$expansion</span><span style="color: #ff0000;">&quot; ]; then
		completion_func=&quot;</span>_git_<span style="color: #800000;">${expansion//-/_}</span><span style="color: #ff0000;">&quot;
		declare -f <span style="color: #007800;">$completion_func</span> &gt;/dev/null &amp;&amp; <span style="color: #007800;">$completion_func</span>
	fi
}
&nbsp;
_gitk ()
{
	if [[ -n <span style="color: #007800;">${ZSH_VERSION-}</span> ]]; then
		emulate -L bash
		setopt KSH_TYPESET
	fi
&nbsp;
	__git_has_doubledash &amp;&amp; return
&nbsp;
	local cur=&quot;</span><span style="color: #800000;">${COMP_WORDS[COMP_CWORD]}</span><span style="color: #ff0000;">&quot;
	local g=&quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__gitdir<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
	local merge=&quot;</span><span style="color: #ff0000;">&quot;
	if [ -f &quot;</span><span style="color: #007800;">$g</span><span style="color: #000000; font-weight: bold;">/</span>MERGE_HEAD<span style="color: #ff0000;">&quot; ]; then
		merge=&quot;</span><span style="color: #660033;">--merge</span><span style="color: #ff0000;">&quot;
	fi
	case &quot;</span><span style="color: #007800;">$cur</span><span style="color: #ff0000;">&quot; in
	--*)
		__gitcomp &quot;</span>
			<span style="color: #007800;">$__git_log_common_options</span>
			<span style="color: #007800;">$__git_log_gitk_options</span>
			<span style="color: #007800;">$merge</span>
			<span style="color: #ff0000;">&quot;
		return
		;;
	esac
	__git_complete_revlist
}
&nbsp;
complete -o bashdefault -o default -o nospace -F _git git 2&gt;/dev/null <span style="color: #000099; font-weight: bold;">\
</span>	|| complete -o default -o nospace -F _git git
complete -o bashdefault -o default -o nospace -F _gitk gitk 2&gt;/dev/null <span style="color: #000099; font-weight: bold;">\
</span>	|| complete -o default -o nospace -F _gitk gitk
&nbsp;
# The following are necessary only for Cygwin, and only are needed
# when the user has tab-completed the executable name and consequently
# included the '.exe' suffix.
#
if [ Cygwin = &quot;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">uname</span> <span style="color: #660033;">-o</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot; ]; then
complete -o bashdefault -o default -o nospace -F _git git.exe 2&gt;/dev/null <span style="color: #000099; font-weight: bold;">\
</span>	|| complete -o default -o nospace -F _git git.exe
fi
&nbsp;
if [[ -n <span style="color: #007800;">${ZSH_VERSION-}</span> ]]; then
	shopt () {
		local option
		if [ $# -ne 2 ]; then
			echo &quot;</span>USAGE: <span style="color: #007800;">$0</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>-q<span style="color: #000000; font-weight: bold;">|</span>-s<span style="color: #000000; font-weight: bold;">|</span>-u<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">&lt;</span>option<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #ff0000;">&quot; &gt;&amp;2
			return 1
		fi
		case &quot;</span><span style="color: #007800;">$2</span><span style="color: #ff0000;">&quot; in
		nullglob)
			option=&quot;</span><span style="color: #007800;">$2</span><span style="color: #ff0000;">&quot;
			;;
		*)
			echo &quot;</span><span style="color: #007800;">$0</span>: invalid option: <span style="color: #007800;">$2</span><span style="color: #ff0000;">&quot; &gt;&amp;2
			return 1
		esac
		case &quot;</span><span style="color: #007800;">$1</span><span style="color: #ff0000;">&quot; in
		-q)	setopt | grep -q &quot;</span><span style="color: #007800;">$option</span><span style="color: #ff0000;">&quot; ;;
		-u)	unsetopt &quot;</span><span style="color: #007800;">$option</span><span style="color: #ff0000;">&quot; ;;
		-s)	setopt &quot;</span><span style="color: #007800;">$option</span><span style="color: #ff0000;">&quot; ;;
		*)
			echo &quot;</span><span style="color: #007800;">$0</span>: invalid flag: <span style="color: #007800;">$1</span><span style="color: #ff0000;">&quot; &gt;&amp;2
			return 1
		esac
	}
fi</span></pre></div></div><p>Fonte: <a
href="http://progit.org/book/pt-br/ch2-7.html">Pro Git</a></p><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2011/firefox-4-no-ubuntu/' rel='bookmark' title='Firefox 4 no Ubuntu'>Firefox 4 no Ubuntu</a></li><li><a
href='http://blog.will.eti.br/2010/limpando-os-logs-no-ubuntu/' rel='bookmark' title='Limpando os logs no Ubuntu'>Limpando os logs no Ubuntu</a></li><li><a
href='http://blog.will.eti.br/2010/instalando-rapidamente-o-php-5-3-1-no-ubuntu-9-10-karmic-koala/' rel='bookmark' title='Instalando rapidamente o PHP 5.3.1 no Ubuntu 9.10 Karmic Koala'>Instalando rapidamente o PHP 5.3.1 no Ubuntu 9.10 Karmic Koala</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/jEW1T-KcK5Lw5a-2qJHVeSUbK8w/0/da"><img src="http://feedads.g.doubleclick.net/~a/jEW1T-KcK5Lw5a-2qJHVeSUbK8w/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/jEW1T-KcK5Lw5a-2qJHVeSUbK8w/1/da"><img src="http://feedads.g.doubleclick.net/~a/jEW1T-KcK5Lw5a-2qJHVeSUbK8w/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2010/git-auto-completion-no-shell-do-ubuntu/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2010/git-auto-completion-no-shell-do-ubuntu/</feedburner:origLink></item> <item><title>Zend Framework: layout e views – dicas</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/YsxnjHVcD2c/</link> <comments>http://blog.will.eti.br/2010/zend-framework-layout-e-views-dicas/#comments</comments> <pubDate>Sun, 14 Nov 2010 07:08:55 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Artigos]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Zend Framework]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=906</guid> <description><![CDATA[Algumas dicas rápidas sobre renderização de layout (Zend_Layout) e views no ZF: Desabilitar o layout (a partir de um controller): $this-&#62;getHelper&#40;'layout'&#41;-&#62;disableLayout&#40;&#41;; Renderizar outro arquivo de layout (a partir de um controller): $this-&#62;getHelper&#40;'layout'&#41;-&#62;setLayout&#40;'alternativo'&#41;; // alternativo = /applications/layouts/scripts/alternativo.phtml Renderizar outro arquivo de &#8230; <a
href="http://blog.will.eti.br/2010/zend-framework-layout-e-views-dicas/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Algumas dicas rápidas sobre renderização de layout (Zend_Layout) e views no ZF:</p><p><strong>Desabilitar o layout (a partir de um controller):</strong></p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getHelper</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'layout'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">disableLayout</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p><strong>Renderizar outro arquivo de layout (a partir de um controller):</strong></p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getHelper</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'layout'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setLayout</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'alternativo'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// alternativo = /applications/layouts/scripts/alternativo.phtml</span></pre></div></div><p><strong>Renderizar outro arquivo de layout (a partir de uma view):</strong></p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">layout</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setLayout</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'alternativo'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
// alternativo = /applications/layouts/scripts/alternativo.phtml</pre></div></div><p><strong>Não renderizar a view do respectivo controller:</strong></p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getHelper</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'viewRenderer'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setNoRender</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p><strong>Renderizar a view de outro module e/ou controller:</strong></p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getHelper</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'viewRenderer'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">renderBySpec</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cadastro'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
    <span style="color: #0000ff;">'module'</span>      <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$module</span><span style="color: #339933;">,</span>
    <span style="color: #0000ff;">'controller'</span>  <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'ajax'</span>
<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2009/integrando-o-doctrine-com-o-zend-framework/' rel='bookmark' title='Integrando o Doctrine com o Zend Framework'>Integrando o Doctrine com o Zend Framework</a></li><li><a
href='http://blog.will.eti.br/2010/detalhes-hardware-ubuntu-linux/' rel='bookmark' title='Detalhes do hardware no Ubuntu Linux 10.04 Lucid Lynx'>Detalhes do hardware no Ubuntu Linux 10.04 Lucid Lynx</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/CsfbZwdo7cnRSjaANzXsRbumC7s/0/da"><img src="http://feedads.g.doubleclick.net/~a/CsfbZwdo7cnRSjaANzXsRbumC7s/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/CsfbZwdo7cnRSjaANzXsRbumC7s/1/da"><img src="http://feedads.g.doubleclick.net/~a/CsfbZwdo7cnRSjaANzXsRbumC7s/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2010/zend-framework-layout-e-views-dicas/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2010/zend-framework-layout-e-views-dicas/</feedburner:origLink></item> <item><title>Open Street Balneário Camboriú 2010</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/d8H33Sjhdmo/</link> <comments>http://blog.will.eti.br/2010/open-street-balneario-camboriu-2010/#comments</comments> <pubDate>Fri, 15 Oct 2010 16:20:23 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Eventos]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Santa Catarina]]></category> <category><![CDATA[SC]]></category> <category><![CDATA[Software Livre]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=900</guid> <description><![CDATA[Open Street Balneário Camboriú Data de realização: 16 de outubro de 2010 das 14:00 as 18:00 Local: Auditório do Centro Educacional Municipal Vereador Santa Endereço: Rua 2450, nº 420 Centro &#8211; Balneário Camboriú. Próximo a Fundação Cultural e a 500m &#8230; <a
href="http://blog.will.eti.br/2010/open-street-balneario-camboriu-2010/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><strong>Open Street Balneário Camboriú</strong></p><p><strong>Data de realização:</strong> 16 de outubro de 2010 das 14:00 as 18:00<br
/> <strong>Local: </strong>Auditório do Centro Educacional Municipal Vereador Santa<br
/> <strong>Endereço:</strong> Rua 2450, nº 420 Centro &#8211; Balneário Camboriú. Próximo a Fundação Cultural e a 500m da Praia Central.</p><p><strong>Palestrantes:</strong> Klaibson Ribeiro e Fernando Pereira dos Santos</p><p><strong>Programação: </strong></p><p>14:00 as 15:00 – História do software livre e situação atual<br
/> 15:00 as 16:00 – Projeto Fedora e Ambientes Gráficos Gnome e KDE<br
/> 16:00 as 16:15 – Cofee Break<br
/> 16:15 as 17:15 – BrOffice<br
/> 17:15 as 18:00 – Fazendo arte com Gimp e Inkscape</p><p><strong>Divulgação:</strong> Solisc<br
/> <strong>Apoio:</strong> Fundação Cultural de Balneário Camboriú</p><p>Não é necessária inscrição, e a participação é gratuita.</p><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2011/vaga-para-desenvolvedor-php-oracle-em-balneario-camboriu-sc/' rel='bookmark' title='Vaga para desenvolvedor PHP + Oracle em Balneário Camboriú &#8211; SC'>Vaga para desenvolvedor PHP + Oracle em Balneário Camboriú &#8211; SC</a></li><li><a
href='http://blog.will.eti.br/2009/vaga-para-desenvolvedor-web-em-balneario-camboriu-sc/' rel='bookmark' title='Vaga para Desenvolvedor Web em Balneário Camboriú &#8211; SC'>Vaga para Desenvolvedor Web em Balneário Camboriú &#8211; SC</a></li><li><a
href='http://blog.will.eti.br/2010/vaga-desenvolvedor-senior-balneario-camboriu/' rel='bookmark' title='Vaga para desenvolvedor sênior em Balneário Camboriú &#8211; SC'>Vaga para desenvolvedor sênior em Balneário Camboriú &#8211; SC</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/d1MbN67VRc9aDIz81NAE4woGa5A/0/da"><img src="http://feedads.g.doubleclick.net/~a/d1MbN67VRc9aDIz81NAE4woGa5A/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/d1MbN67VRc9aDIz81NAE4woGa5A/1/da"><img src="http://feedads.g.doubleclick.net/~a/d1MbN67VRc9aDIz81NAE4woGa5A/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2010/open-street-balneario-camboriu-2010/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2010/open-street-balneario-camboriu-2010/</feedburner:origLink></item> <item><title>Limpando os logs no Ubuntu</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/QEykrLzEQEU/</link> <comments>http://blog.will.eti.br/2010/limpando-os-logs-no-ubuntu/#comments</comments> <pubDate>Wed, 01 Sep 2010 01:21:37 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Artigos]]></category> <category><![CDATA[lembrete]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Segurança]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=897</guid> <description><![CDATA[Para limpar os arquivos de log existentes na pasta /var/log/, basta executar o seguinte comando: sudo find /var/log -type f -exec rm &#123;&#125; \; Após reiniciar, os arquivos serão novamente criados. Para limpar o histórico: history -c Lembrando que o &#8230; <a
href="http://blog.will.eti.br/2010/limpando-os-logs-no-ubuntu/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Para limpar os arquivos de log existentes na pasta /var/log/, basta executar o seguinte comando:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log <span style="color: #660033;">-type</span> f <span style="color: #660033;">-exec</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span> \;</pre></div></div><p>Após reiniciar, os arquivos serão novamente criados.</p><p>Para limpar o histórico:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">history</span> <span style="color: #660033;">-c</span></pre></div></div><p>Lembrando que o histórico será excluído apenas para o usuário autenticado.</p><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2010/git-auto-completion-no-shell-do-ubuntu/' rel='bookmark' title='Git Auto-Completion no Shell do Ubuntu'>Git Auto-Completion no Shell do Ubuntu</a></li><li><a
href='http://blog.will.eti.br/2011/firefox-4-no-ubuntu/' rel='bookmark' title='Firefox 4 no Ubuntu'>Firefox 4 no Ubuntu</a></li><li><a
href='http://blog.will.eti.br/2010/detalhes-hardware-ubuntu-linux/' rel='bookmark' title='Detalhes do hardware no Ubuntu Linux 10.04 Lucid Lynx'>Detalhes do hardware no Ubuntu Linux 10.04 Lucid Lynx</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/c1cxlGy9uqYU2jNiJiruyAuC87o/0/da"><img src="http://feedads.g.doubleclick.net/~a/c1cxlGy9uqYU2jNiJiruyAuC87o/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/c1cxlGy9uqYU2jNiJiruyAuC87o/1/da"><img src="http://feedads.g.doubleclick.net/~a/c1cxlGy9uqYU2jNiJiruyAuC87o/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2010/limpando-os-logs-no-ubuntu/feed/</wfw:commentRss> <slash:comments>3</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2010/limpando-os-logs-no-ubuntu/</feedburner:origLink></item> <item><title>Vaga para desenvolvedor sênior em Balneário Camboriú – SC</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/hQieg5Te_TU/</link> <comments>http://blog.will.eti.br/2010/vaga-desenvolvedor-senior-balneario-camboriu/#comments</comments> <pubDate>Tue, 31 Aug 2010 23:34:15 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Emprego]]></category> <category><![CDATA[Carreira]]></category> <category><![CDATA[Desenvolvedor]]></category> <category><![CDATA[Oportunidade]]></category> <category><![CDATA[Programador]]></category> <category><![CDATA[Santa Catarina]]></category> <category><![CDATA[SC]]></category> <category><![CDATA[Vaga]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=890</guid> <description><![CDATA[O profissional que se identificar com a vaga abaixo poderá integrar a equipe de desenvolvimento da Imovel PRO; empresa irmã da Videosoft &#8211; da qual novamente faço parte. Além da possibilidade de batermos um papo nos horários do café &#8211; &#8230; <a
href="http://blog.will.eti.br/2010/vaga-desenvolvedor-senior-balneario-camboriu/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><em>O profissional que se identificar com a vaga abaixo poderá integrar a equipe de desenvolvimento da Imovel PRO; empresa irmã da Videosoft &#8211; da qual novamente faço parte. Além da possibilidade de batermos um papo nos horários do café &#8211; pois ambas localizam-se na mesma sede &#8211; você fará parte de uma excelente equipe de profissionais. Por isso, tenho essa vaga como uma recomendação pessoal.</em></p><p>A você amigo Desenvolvedor:<br
/> - Que acredita que qualidade não é negociável;<br
/> - Que tem prazer em fazer um trabalho bem-feito;<br
/> - Que não sabe fazer mal-feito;<br
/> - Que não costuma se &#8220;render&#8221; às dificuldades;<br
/> - Que erra, e ao mesmo tempo, aprende;<br
/> - Que entende que testar não é tarefa dos outros;<br
/> - Que procura evoluir como profissional e como pessoa;<br
/> - Que assume responsabilidades;<br
/> - Que acredita que duas cabeças pensam melhor do que uma;<br
/> - Que gosta de trabalhar ao lado de profissionais competentes;<br
/> - Que não abre mão de um bom ambiente de trabalho;<br
/> - Que acredita que o seu trabalho também mostra como você é;<br
/> - Que acredita que o bom profissional tem que ser valorizado;<br
/> - Que acredita que o profissional tem que ser respeitado e ouvido;<br
/> - Que acredita que o profissional também precisa de férias;<br
/> - Que gosta de morar pertinho da praia.</p><p>A você amigo Desenvolvedor:<br
/> - Que sabe o que é HTML, JavaScript, Orientação a Objetos, <acronym
title="Model-view-controller - padrão de projeto modelo-visão-controle">MVC</acronym>, SQL, Ajax e mais um monte de sopa de letrinhas;<br
/> - Que sabe o que é SQL Injection, Cross-site scripting, roubo de sessão e etc;<br
/> - Que não tem medo aprender novas linguagens de programação;<br
/> - Que busca executar o trabalho de maneira melhor, a cada dia;<br
/> - Que enxerga Análise e Desenvolvimento como tarefas tão complementares que em certos momentos é difícil separá-las;<br
/> - Que entende que um bom Desenvolvedor precisa ter boa capacidade de Análise.</p><p>Venha fazer parte da equipe Imóvel PRO.</p><p>A Imóvel PRO é uma empresa de tecnologia especializada em Desenvolvimento Web para o mercado imobiliário nacional. Possui sede em Balneário Camboriú, Santa Catarina.</p><p>Possui como foco o desenvolvimento de soluções de qualidade.</p><p>Não queremos ser &#8220;mais um&#8221;, queremos criar diferenciais, criar soluções diferenciadas.</p><p>A Imóvel PRO oferece:<br
/> - Salário compatível com a função;<br
/> - Plano de saúde integral;<br
/> - Vale transporte (em Balneário Camboriú provavelmente você não vai precisar);<br
/> - Biblioteca própria;<br
/> - Bom ambiente de trabalho;<br
/> - Possibilidade de aprendizado e crescimento profissional;<br
/> - Incentivos para cursos, palestras, congressos e etc.</p><p>Os principais produtos da Imóvel PRO são:</p><p>Sites para imobiliárias. Alguns clientes:</p><p>http://www.ejb.com.br</p><p>http://www.capistranoimoveis.com.br</p><p>http://www.sheilanolasco.com.br</p><p>http://www.casanobreimobiliaria.com</p><p>Portais para redes de imobiliárias. Alguns clientes:</p><p>http://www.redeimoveisbc.com.br</p><p>http://www.itapemaredeimoveis.com.br</p><p>Portais de cidades. Alguns portais:</p><p>http://www.portaldeimoveissalvador.com.br</p><p>http://www.portaldeimoveiscamboriu.com.br</p><p>http://www.portaldeimoveisrio.com.br</p><p>http://www.portaldeimoveisitapema.com.br</p><p>http://www.acesseimoveis.com.br</p><p>A maior parte do desenvolvimento é feito em CFML, porém, experiência em CFML não é requisito para a vaga. Acreditamos que o bom profissional programa bem, em qualquer linguagem.</p><p>Não conhece CFML? Dê uma lida no post abaixo:<br
/> <a
title="Ronan - ColdFusion" href="http://ronanlucio.wordpress.com/2010/08/09/porque-coldfusion/" target="_blank">http://ronanlucio.wordpress.com/2010/08/09/porque-coldfusion/</a></p><p>Será considerado um plus:<br
/> - Conhecimento em Arquitetura de Software Orientado a Objetos;<br
/> - Conhecimento em TDD;<br
/> - Conhecimento sobre Metodologias Ágeis.</p><p>Ficou interessado? Quer fazer parte da nossa equipe?<br
/> Envie o seu currículo para <strong>rh@imovelpro.com.br</strong> com o assunto &#8220;<strong>Desenvolvedor Web</strong>&#8220;.</p><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2009/vaga-para-desenvolvedor-web-em-balneario-camboriu-sc/' rel='bookmark' title='Vaga para Desenvolvedor Web em Balneário Camboriú &#8211; SC'>Vaga para Desenvolvedor Web em Balneário Camboriú &#8211; SC</a></li><li><a
href='http://blog.will.eti.br/2011/vaga-para-desenvolvedor-php-oracle-em-balneario-camboriu-sc/' rel='bookmark' title='Vaga para desenvolvedor PHP + Oracle em Balneário Camboriú &#8211; SC'>Vaga para desenvolvedor PHP + Oracle em Balneário Camboriú &#8211; SC</a></li><li><a
href='http://blog.will.eti.br/2011/vaga-admin-servidores-balneario-camboriu/' rel='bookmark' title='Vaga para Administrador de Servidores em Balneário Camboriú'>Vaga para Administrador de Servidores em Balneário Camboriú</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/DwZxkLGo7WFBxmKrD-xt3lZq3ao/0/da"><img src="http://feedads.g.doubleclick.net/~a/DwZxkLGo7WFBxmKrD-xt3lZq3ao/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/DwZxkLGo7WFBxmKrD-xt3lZq3ao/1/da"><img src="http://feedads.g.doubleclick.net/~a/DwZxkLGo7WFBxmKrD-xt3lZq3ao/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2010/vaga-desenvolvedor-senior-balneario-camboriu/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2010/vaga-desenvolvedor-senior-balneario-camboriu/</feedburner:origLink></item> <item><title>Excursão para a PHPSC Conf 2010</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/KiKdYo6WIdg/</link> <comments>http://blog.will.eti.br/2010/excursao-para-a-phpsc-conf-2010/#comments</comments> <pubDate>Tue, 17 Aug 2010 03:30:33 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Eventos]]></category> <category><![CDATA[Caravana]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[PHP SC]]></category> <category><![CDATA[PHPSC]]></category> <category><![CDATA[PHPSC Conf]]></category> <category><![CDATA[Santa Catarina]]></category> <category><![CDATA[SC]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=884</guid> <description><![CDATA[Estou tentando realizar excursão para a PHPSC Conf 2010, para os dois dias de evento, partindo de Balneário Camboriú e passando por Itajaí. Para maiores informações, ou se tem interesse na excursão, acesse a URL: https://spreadsheets.google.com/viewform?formkey=dFB4TmUyVUp3UjRYN3Q1eGU4QlhVVnc6MQPosts relacionados: PHPSC Conf 2010 &#8230; <a
href="http://blog.will.eti.br/2010/excursao-para-a-phpsc-conf-2010/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><img
class="alignright" title="PHPSC Conf 2010 - 27 e 28 de Agosto em Joinville" src="http://www.phpsc.com.br/wp-content/uploads/2010/06/phpsc-270x175_exp1.png" alt="PHPSC Conf 2010 - 27 e 28 de Agosto em Joinville" width="270" height="175" />Estou tentando realizar excursão para a <acronym
title="Grupo de usuários de PHP do estado de Santa Catarina">PHPSC</acronym> <acronym
title="Conference">Conf</acronym> 2010, para os dois dias de evento, partindo de Balneário Camboriú e passando por Itajaí.</p><p>Para maiores informações, ou se tem interesse na excursão, acesse a URL:<br
/> <a
href="https://spreadsheets.google.com/viewform?formkey=dFB4TmUyVUp3UjRYN3Q1eGU4QlhVVnc6MQ">https://spreadsheets.google.com/viewform?formkey=dFB4TmUyVUp3UjRYN3Q1eGU4QlhVVnc6MQ</a></p><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2010/phpsc-conf-2010-chamada-de-trabalhos/' rel='bookmark' title='PHPSC Conf 2010 &#8211; Chamada de Trabalhos'>PHPSC Conf 2010 &#8211; Chamada de Trabalhos</a></li><li><a
href='http://blog.will.eti.br/2009/caravana-phpsc-para-o-fisl10/' rel='bookmark' title='Caravana PHPSC para o FISL10'>Caravana PHPSC para o FISL10</a></li><li><a
href='http://blog.will.eti.br/2009/chamada-de-trabalhos-phpsc-conf-202009-univali-itajai/' rel='bookmark' title='Chamada de Trabalhos PHPSC Conf 2.0/2009 &#8211; Univali Itajaí'>Chamada de Trabalhos PHPSC Conf 2.0/2009 &#8211; Univali Itajaí</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/VJct5A-OnHAvaycu6AbJRd49M1M/0/da"><img src="http://feedads.g.doubleclick.net/~a/VJct5A-OnHAvaycu6AbJRd49M1M/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/VJct5A-OnHAvaycu6AbJRd49M1M/1/da"><img src="http://feedads.g.doubleclick.net/~a/VJct5A-OnHAvaycu6AbJRd49M1M/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2010/excursao-para-a-phpsc-conf-2010/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2010/excursao-para-a-phpsc-conf-2010/</feedburner:origLink></item> <item><title>Detalhes do hardware no Ubuntu Linux 10.04 Lucid Lynx</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/TKFtppepk7A/</link> <comments>http://blog.will.eti.br/2010/detalhes-hardware-ubuntu-linux/#comments</comments> <pubDate>Sun, 04 Jul 2010 22:47:04 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Artigos]]></category> <category><![CDATA[hardware]]></category> <category><![CDATA[lembrete]]></category> <category><![CDATA[Linux]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=856</guid> <description><![CDATA[Preciso fazer um upgrade de memória no meu PC, e para consultar detalhes do hardware, sem abrir o gabinete, utilizei o comando lshw (list hardware), disponível nativamente no Ubuntu Linux 10.04 Lucid Lynx: Comando: &#160; # lshw -short -sanitize Resultado: &#8230; <a
href="http://blog.will.eti.br/2010/detalhes-hardware-ubuntu-linux/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Preciso fazer um upgrade de memória no meu PC, e para consultar detalhes do hardware, sem abrir o gabinete, utilizei o comando <strong>lshw</strong> (list hardware), disponível nativamente no Ubuntu Linux 10.04 Lucid Lynx:</p><p><strong>Comando:</strong></p><div
class="wp_syntax"><div
class="code"><pre class="text" style="font-family:monospace;">&nbsp;
# lshw -short -sanitize</pre></div></div><p><strong>Resultado:</strong></p><div
class="wp_syntax"><div
class="code"><pre class="text" style="font-family:monospace;">H/W path               Device      Class       Description
==========================================================
                                   system      P5K SE
/0                                 bus         P5K SE
/0/0                               memory      64KiB BIOS
/0/4                               processor   Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
/0/4/5                             memory      32KiB L1 cache
/0/4/6                             memory      6MiB L2 cache
/0/30                              memory      4GiB System Memory
/0/30/0                            memory      2GiB DIMM DDR2 Synchronous 800 MHz (1.2 ns)
/0/30/1                            memory      DIMM [empty]
/0/30/2                            memory      2GiB DIMM DDR2 Synchronous 800 MHz (1.2 ns)
/0/30/3                            memory      DIMM [empty]
/0/100                             bridge      82G33/G31/P35/P31 Express DRAM Controller
/0/100/1                           bridge      82G33/G31/P35/P31 Express PCI Express Root Port
/0/100/1/0                         display     G84 [GeForce 8600GT]
/0/100/1a                          bus         82801I (ICH9 Family) USB UHCI Controller #4
/0/100/1a.1                        bus         82801I (ICH9 Family) USB UHCI Controller #5
/0/100/1a.2                        bus         82801I (ICH9 Family) USB UHCI Controller #6
/0/100/1a.7                        bus         82801I (ICH9 Family) USB2 EHCI Controller #2
/0/100/1b                          multimedia  82801I (ICH9 Family) HD Audio Controller
/0/100/1c                          bridge      82801I (ICH9 Family) PCI Express Port 1
/0/100/1c.4                        bridge      82801I (ICH9 Family) PCI Express Port 5
/0/100/1c.4/0          scsi4       storage     88SE6121 SATA II Controller
/0/100/1c.4/0/0.1.0    /dev/cdrom  disk        DVDRAM GSA-H42N
/0/100/1c.5                        bridge      82801I (ICH9 Family) PCI Express Port 6
/0/100/1c.5/0          eth0        network     L1 Gigabit Ethernet Adapter
/0/100/1d                          bus         82801I (ICH9 Family) USB UHCI Controller #1
/0/100/1d.1                        bus         82801I (ICH9 Family) USB UHCI Controller #2
/0/100/1d.2                        bus         82801I (ICH9 Family) USB UHCI Controller #3
/0/100/1d.7                        bus         82801I (ICH9 Family) USB2 EHCI Controller #1
/0/100/1e                          bridge      82801 PCI Bridge
/0/100/1f                          bridge      82801IB (ICH9) LPC Interface Controller
/0/100/1f.2            scsi0       storage     82801IB (ICH9) 2 port SATA IDE Controller
/0/100/1f.2/0.0.0      /dev/sda    disk        500GB ST3500630AS
/0/100/1f.2/0.0.0/1    /dev/sda1   volume      48GiB Windows NTFS volume
/0/100/1f.2/0.0.0/2    /dev/sda2   volume      7632MiB EXT3 volume
/0/100/1f.2/0.0.0/2/5  /dev/sda5   volume      7632MiB Linux swap / Solaris partition
/0/100/1f.2/0.0.0/3    /dev/sda3   volume      21GiB EXT3 volume
/0/100/1f.2/0.0.0/4    /dev/sda4   volume      387GiB Windows NTFS volume
/0/100/1f.3                        bus         82801I (ICH9 Family) SMBus Controller
/0/100/1f.5                        storage     82801I (ICH9 Family) 2 port SATA IDE Controller
/1                     vboxnet0    network     Ethernet interface</pre></div></div><p>A opção <em>-short</em> retorna uma síntese dos recursos da máquina, e a opção <em>-sanitize</em> remove os seriais de fabricação dos hardwares listados.</p><p>É possível ainda emitir o retorno em HTML ou XML, com as opções <em>-html</em> e <em>-xml</em> respectivamente. Além disso, pode-se especificar que classe de hardware deseja exibir:</p><p>Exemplo com a opção <em>sanitize</em>, retorno em <em>XML</em> e especificando para exibir <em>apenas</em> detalhes referentes à <em>memória</em>:</p><p><strong>Comando:</strong></p><div
class="wp_syntax"><div
class="code"><pre class="text" style="font-family:monospace;">&nbsp;
# lshw -sanitize -xml -c memory</pre></div></div><p><strong>Resultado:</strong></p><div
class="wp_syntax"><div
class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">standalone</span>=<span style="color: #ff0000;">&quot;yes&quot;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #808080; font-style: italic;">&lt;!-- generated by lshw-B.02.14 --&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!-- GCC 4.4.3 --&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!-- Linux 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 --&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!-- GNU libc 2 (glibc 2.11.1) --&gt;</span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;node</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;firmware&quot;</span> <span style="color: #000066;">claimed</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;memory&quot;</span> <span style="color: #000066;">handle</span>=<span style="color: #ff0000;">&quot;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>BIOS<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;vendor<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>American Megatrends Inc.<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/vendor<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>0<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>1104 (07/07/2008)<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;size</span> <span style="color: #000066;">units</span>=<span style="color: #ff0000;">&quot;bytes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>65536<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/size<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capacity</span> <span style="color: #000066;">units</span>=<span style="color: #ff0000;">&quot;bytes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>983040<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capacity<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capabilities<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;isa&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>ISA bus<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;pci&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>PCI bus<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;pnp&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>Plug-and-Play<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;apm&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>Advanced Power Management<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;upgrade&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>BIOS EEPROM can be upgraded<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;shadowing&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>BIOS shadowing<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;escd&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>ESCD<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cdboot&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>Booting from CD-ROM/DVD<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;bootselect&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>Selectable boot path<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;socketedrom&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>BIOS ROM is socketed<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;edd&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>Enhanced Disk Drive extensions<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;int13floppy1200&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>5.25&quot; 1.2MB floppy<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;int13floppy720&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>3.5&quot; 720KB floppy<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;int13floppy2880&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>3.5&quot; 2.88MB floppy<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;int5printscreen&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>Print Screen key<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;int9keyboard&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>i8042 keyboard controller<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;int14serial&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>INT14 serial line control<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;int17printer&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>INT17 printer control<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;int10video&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>INT10 CGA/Mono video<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;acpi&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>ACPI<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;usb&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>USB legacy emulation<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ls120boot&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>Booting from LS-120<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;zipboot&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>Booting from ATAPI ZIP<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;biosbootspecification&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>BIOS boot specification<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capabilities<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/node<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;node</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cache:0&quot;</span> <span style="color: #000066;">claimed</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;memory&quot;</span> <span style="color: #000066;">handle</span>=<span style="color: #ff0000;">&quot;DMI:0005&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>L1 cache<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>5<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;slot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>L1-Cache<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/slot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;size</span> <span style="color: #000066;">units</span>=<span style="color: #ff0000;">&quot;bytes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>32768<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/size<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capacity</span> <span style="color: #000066;">units</span>=<span style="color: #ff0000;">&quot;bytes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>32768<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capacity<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capabilities<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;internal&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>Internal<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;write-back&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>Write-back<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;data&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>Data cache<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capabilities<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/node<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;node</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cache:1&quot;</span> <span style="color: #000066;">claimed</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;memory&quot;</span> <span style="color: #000066;">handle</span>=<span style="color: #ff0000;">&quot;DMI:0006&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>L2 cache<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>6<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;slot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>L2-Cache<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/slot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;size</span> <span style="color: #000066;">units</span>=<span style="color: #ff0000;">&quot;bytes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>6291456<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/size<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capacity</span> <span style="color: #000066;">units</span>=<span style="color: #ff0000;">&quot;bytes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>6291456<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capacity<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capabilities<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;internal&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>Internal<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;write-back&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>Write-back<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;capability</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;data&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>Data cache<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capability<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/capabilities<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/node<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;node</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;memory&quot;</span> <span style="color: #000066;">claimed</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;memory&quot;</span> <span style="color: #000066;">handle</span>=<span style="color: #ff0000;">&quot;DMI:0030&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>System Memory<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>30<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;slot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>System board or motherboard<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/slot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;size</span> <span style="color: #000066;">units</span>=<span style="color: #ff0000;">&quot;bytes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>4294967296<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/size<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;node</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;bank:0&quot;</span> <span style="color: #000066;">claimed</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;memory&quot;</span> <span style="color: #000066;">handle</span>=<span style="color: #ff0000;">&quot;DMI:0032&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>DIMM DDR2 Synchronous 800 MHz (1.2 ns)<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;product<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>PartNum0<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/product<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;vendor<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Manufacturer0<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/vendor<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>0<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;serial<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>[REMOVED]<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/serial<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;slot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>DIMM0<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/slot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;size</span> <span style="color: #000066;">units</span>=<span style="color: #ff0000;">&quot;bytes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>2147483648<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/size<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;width</span> <span style="color: #000066;">units</span>=<span style="color: #ff0000;">&quot;bits&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>64<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/width<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;clock</span> <span style="color: #000066;">units</span>=<span style="color: #ff0000;">&quot;Hz&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>800000000<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/clock<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/node<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;node</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;bank:1&quot;</span> <span style="color: #000066;">claimed</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;memory&quot;</span> <span style="color: #000066;">handle</span>=<span style="color: #ff0000;">&quot;DMI:0034&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>DIMM [empty]<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;product<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>PartNum1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/product<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;vendor<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Manufacturer1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/vendor<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;serial<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>[REMOVED]<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/serial<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;slot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>DIMM1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/slot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/node<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;node</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;bank:2&quot;</span> <span style="color: #000066;">claimed</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;memory&quot;</span> <span style="color: #000066;">handle</span>=<span style="color: #ff0000;">&quot;DMI:0036&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>DIMM DDR2 Synchronous 800 MHz (1.2 ns)<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;product<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>PartNum2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/product<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;vendor<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Manufacturer2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/vendor<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;serial<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>[REMOVED]<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/serial<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;slot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>DIMM2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/slot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;size</span> <span style="color: #000066;">units</span>=<span style="color: #ff0000;">&quot;bytes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>2147483648<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/size<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;width</span> <span style="color: #000066;">units</span>=<span style="color: #ff0000;">&quot;bits&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>64<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/width<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;clock</span> <span style="color: #000066;">units</span>=<span style="color: #ff0000;">&quot;Hz&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>800000000<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/clock<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/node<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;node</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;bank:3&quot;</span> <span style="color: #000066;">claimed</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;memory&quot;</span> <span style="color: #000066;">handle</span>=<span style="color: #ff0000;">&quot;DMI:0038&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>DIMM [empty]<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;product<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>PartNum3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/product<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;vendor<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Manufacturer3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/vendor<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/physid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;serial<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>[REMOVED]<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/serial<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;slot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>DIMM3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/slot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/node<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/node<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2010/git-auto-completion-no-shell-do-ubuntu/' rel='bookmark' title='Git Auto-Completion no Shell do Ubuntu'>Git Auto-Completion no Shell do Ubuntu</a></li><li><a
href='http://blog.will.eti.br/2011/firefox-4-no-ubuntu/' rel='bookmark' title='Firefox 4 no Ubuntu'>Firefox 4 no Ubuntu</a></li><li><a
href='http://blog.will.eti.br/2010/limpando-os-logs-no-ubuntu/' rel='bookmark' title='Limpando os logs no Ubuntu'>Limpando os logs no Ubuntu</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/cJdazHlAW0_hocFAWZ1wtp8yv78/0/da"><img src="http://feedads.g.doubleclick.net/~a/cJdazHlAW0_hocFAWZ1wtp8yv78/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/cJdazHlAW0_hocFAWZ1wtp8yv78/1/da"><img src="http://feedads.g.doubleclick.net/~a/cJdazHlAW0_hocFAWZ1wtp8yv78/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2010/detalhes-hardware-ubuntu-linux/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2010/detalhes-hardware-ubuntu-linux/</feedburner:origLink></item> <item><title>PHPSC Conf 2010 – Chamada de Trabalhos</title><link>http://feedproxy.google.com/~r/DesenvolvimentoWebComClasse/~3/bDNzWnqGi84/</link> <comments>http://blog.will.eti.br/2010/phpsc-conf-2010-chamada-de-trabalhos/#comments</comments> <pubDate>Sat, 19 Jun 2010 02:11:17 +0000</pubDate> <dc:creator>William G. Comnisky</dc:creator> <category><![CDATA[Eventos]]></category> <category><![CDATA[Caravana]]></category> <category><![CDATA[Desenvolvedor]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[PHP Conference]]></category> <category><![CDATA[PHP SC]]></category> <category><![CDATA[PHPSC]]></category> <category><![CDATA[PHPSC Conf]]></category> <category><![CDATA[Programador]]></category> <category><![CDATA[Santa Catarina]]></category> <category><![CDATA[SC]]></category> <guid isPermaLink="false">http://blog.will.eti.br/?p=838</guid> <description><![CDATA[A PHPSC Conf 2010, terceira edição do evento que ano passado reuniu mais de 100 estudantes, profissionais e entusiastas da linguagem PHP e suas áreas correlatas, será realizada nos dias 27 e 28 de Agosto em parceria com a SOCIESC, &#8230; <a
href="http://blog.will.eti.br/2010/phpsc-conf-2010-chamada-de-trabalhos/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a
title="PHPSC Conf 2010" href="http://www.phpsc.com.br/2010/06/phpsc-conf-2010/" target="_blank"><img
class="alignleft size-full wp-image-850" title="PHPSC Conf 2010" src="http://blog.will.eti.br/wp-content/uploads/2010/06/phpsc-270x175_exp.png" alt="PHPSC Conf 2010, dias 27 e 28 de Agosto de 2010 em Joinville/SC" width="270" height="175" /></a>A <strong><acronym
title="Grupo de usuários de PHP do estado de Santa Catarina">PHPSC</acronym> <acronym
title="Conference">Conf</acronym> 2010</strong>, terceira edição do evento que ano passado reuniu mais de 100 estudantes, profissionais e entusiastas da<strong> linguagem PHP</strong> e suas áreas correlatas, será realizada nos dias <strong>27 e 28 de Agosto</strong> em parceria com a <strong>SOCIESC</strong>, na cidade de <strong>Joinville/<acronym
title="Santa Catarina">SC</acronym></strong>.</p><p>No <a
href="http://www.phpsc.com.br/2010/06/phpsc-conf-2010/"><strong>site oficial do <acronym
title="Grupo de usuários de PHP do estado de Santa Catarina">PHPSC</acronym></strong></a> &#8211; <a
href="http://www.phpsc.com.br/2010/06/phpsc-conf-2010/">http://www.phpsc.com.br/2010/06/phpsc-conf-2010/</a> &#8211; é possível obter maiores informações sobre como submeter a proposta de <strong>palestra</strong> e/ou <strong>minicurso</strong>.</p><p>Em breve faremos a abertura das <strong>inscrições</strong> e divulgação da <strong>grade do evento</strong>.<br
/> Não deixe de participar da <a
href="http://br.groups.yahoo.com/group/php-santacatarina">lista de discussão</a>: <a
href="http://br.groups.yahoo.com/group/php-santacatarina">http://br.groups.yahoo.com/group/php-santacatarina</a></p><p>Posts relacionados:<ol><li><a
href='http://blog.will.eti.br/2009/chamada-de-trabalhos-phpsc-conf-202009-univali-itajai/' rel='bookmark' title='Chamada de Trabalhos PHPSC Conf 2.0/2009 &#8211; Univali Itajaí'>Chamada de Trabalhos PHPSC Conf 2.0/2009 &#8211; Univali Itajaí</a></li><li><a
href='http://blog.will.eti.br/2010/excursao-para-a-phpsc-conf-2010/' rel='bookmark' title='Excursão para a PHPSC Conf 2010'>Excursão para a PHPSC Conf 2010</a></li><li><a
href='http://blog.will.eti.br/2009/phpsc-conf-2009-divulgacao-oficial-e-inscricoes/' rel='bookmark' title='PHPSC Conf 2009: divulgação oficial e inscrições'>PHPSC Conf 2009: divulgação oficial e inscrições</a></li></ol></p>
<p><a href="http://feedads.g.doubleclick.net/~a/AqQgidRo9_hXfEKCxIppHeUlw1U/0/da"><img src="http://feedads.g.doubleclick.net/~a/AqQgidRo9_hXfEKCxIppHeUlw1U/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/AqQgidRo9_hXfEKCxIppHeUlw1U/1/da"><img src="http://feedads.g.doubleclick.net/~a/AqQgidRo9_hXfEKCxIppHeUlw1U/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.will.eti.br/2010/phpsc-conf-2010-chamada-de-trabalhos/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.will.eti.br/2010/phpsc-conf-2010-chamada-de-trabalhos/</feedburner:origLink></item> </channel> </rss><!-- Dynamic page generated in 6.899 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-05-19 11:21:05 --><!-- Compression = gzip -->

