<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 29: diffuse cannot access history of a git submodule</title><link>https://sourceforge.net/p/diffuse/bugs/29/</link><description>Recent changes to 29: diffuse cannot access history of a git submodule</description><atom:link href="https://sourceforge.net/p/diffuse/bugs/29/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 14 Feb 2020 02:51:26 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/diffuse/bugs/29/feed.rss" rel="self" type="application/rss+xml"/><item><title>#29 diffuse cannot access history of a git submodule</title><link>https://sourceforge.net/p/diffuse/bugs/29/?limit=25#e9cb</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;diffuse -m still does not work. I have a patch that enables it to recurse git submodules with the -m option&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Harvey</dc:creator><pubDate>Fri, 14 Feb 2020 02:51:26 -0000</pubDate><guid>https://sourceforge.net98277c2a1a559c622da9fd8021ace5285e2ef2b5</guid></item><item><title>#29 diffuse cannot access history of a git submodule</title><link>https://sourceforge.net/p/diffuse/bugs/29/?limit=25#521c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This issue actually seems to be solved in &lt;code&gt;diffuse&lt;/code&gt; installed from source (I was using version 0.4.8-3 that came with my fresh kubuntu distribution, and there it is not fixed).&lt;/p&gt;
&lt;p&gt;I described the steps to install from source in &lt;a href="https://sourceforge.net/p/diffuse/feature-requests/54/"&gt;https://sourceforge.net/p/diffuse/feature-requests/54/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ansa211</dc:creator><pubDate>Wed, 31 Jul 2019 15:29:44 -0000</pubDate><guid>https://sourceforge.net6599935dfe7ee349d583cdab9091ad8a3bff8cb9</guid></item><item><title>#29 diffuse cannot access history of a git submodule</title><link>https://sourceforge.net/p/diffuse/bugs/29/?limit=25#4d1c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This issue is related to &lt;a class="" href="https://gitlab.com/Verner/pyvallex/-/jobs/263155056" rel="nofollow"&gt;issue #1 diffuse don't honnor GIT_DIR&lt;/a&gt; in that &lt;code&gt;git rev-parse --git-dir  --is-inside-git-dir --is-inside-work-tree&lt;/code&gt; could be helpful here as well.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ansa211</dc:creator><pubDate>Wed, 31 Jul 2019 14:29:42 -0000</pubDate><guid>https://sourceforge.net9dd446477e7d3bb662bc2ae6939c82880949f6f6</guid></item><item><title>diffuse cannot access history of a git submodule</title><link>https://sourceforge.net/p/diffuse/bugs/29/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;A git submodule is a subdirectory of a local git repository that is itself a git repository.&lt;br/&gt;
The parent repository knows that this particular subdirectory is a separate repository with a separate history; the parent repository does not track the content of the submodule, but its history contains information about which revision is checked out in the submodule (and this information may be updated as needed).&lt;/p&gt;
&lt;p&gt;When running diffuse inside a git submodule, it cannot access git history, so commands like the following do not work as expected:&lt;br/&gt;
diffuse -m&lt;br/&gt;
diffuse path/to/a/single/file&lt;br/&gt;
diffuse -r HEAD~1 -r HEAD path/to/file&lt;/p&gt;
&lt;p&gt;I guess that the issue with git submodules is that inside the submodule, there is no .git directory, only a .git file that contains a line like the following:&lt;/p&gt;
&lt;p&gt;gitdir: ../.git/modules/pyvallex&lt;/p&gt;
&lt;p&gt;The real .git directory for the submodule can be found at the specified path.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ansa211</dc:creator><pubDate>Tue, 19 Feb 2019 14:32:14 -0000</pubDate><guid>https://sourceforge.net297fd38a8de34abf1debd3b309e917c7bf67cbd6</guid></item></channel></rss>