<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 29: diffuse cannot access history of a git submodule</title><link href="https://sourceforge.net/p/diffuse/bugs/29/" rel="alternate"/><link href="https://sourceforge.net/p/diffuse/bugs/29/feed.atom" rel="self"/><id>https://sourceforge.net/p/diffuse/bugs/29/</id><updated>2020-02-14T02:51:26.461000Z</updated><subtitle>Recent changes to 29: diffuse cannot access history of a git submodule</subtitle><entry><title>#29 diffuse cannot access history of a git submodule</title><link href="https://sourceforge.net/p/diffuse/bugs/29/?limit=25#e9cb" rel="alternate"/><published>2020-02-14T02:51:26.461000Z</published><updated>2020-02-14T02:51:26.461000Z</updated><author><name>Michael Harvey</name><uri>https://sourceforge.net/u/arkelos/</uri></author><id>https://sourceforge.net98277c2a1a559c622da9fd8021ace5285e2ef2b5</id><summary type="html">&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;</summary></entry><entry><title>#29 diffuse cannot access history of a git submodule</title><link href="https://sourceforge.net/p/diffuse/bugs/29/?limit=25#521c" rel="alternate"/><published>2019-07-31T15:29:44.388000Z</published><updated>2019-07-31T15:29:44.388000Z</updated><author><name>ansa211</name><uri>https://sourceforge.net/u/ansa211/</uri></author><id>https://sourceforge.net6599935dfe7ee349d583cdab9091ad8a3bff8cb9</id><summary type="html">&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;</summary></entry><entry><title>#29 diffuse cannot access history of a git submodule</title><link href="https://sourceforge.net/p/diffuse/bugs/29/?limit=25#4d1c" rel="alternate"/><published>2019-07-31T14:29:42.454000Z</published><updated>2019-07-31T14:29:42.454000Z</updated><author><name>ansa211</name><uri>https://sourceforge.net/u/ansa211/</uri></author><id>https://sourceforge.net9dd446477e7d3bb662bc2ae6939c82880949f6f6</id><summary type="html">&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;</summary></entry><entry><title>diffuse cannot access history of a git submodule</title><link href="https://sourceforge.net/p/diffuse/bugs/29/" rel="alternate"/><published>2019-02-19T14:32:14.602000Z</published><updated>2019-02-19T14:32:14.602000Z</updated><author><name>ansa211</name><uri>https://sourceforge.net/u/ansa211/</uri></author><id>https://sourceforge.net297fd38a8de34abf1debd3b309e917c7bf67cbd6</id><summary type="html">&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;</summary></entry></feed>