<blockquote>
<p>I am not sure I understand your use-case, if you change mtime backward geany won't trigger, but if the file size is changed the tarball won't be consistent anyway, so there is not reason to set mtime backward, so geany will trigger.</p>
</blockquote>

<p>I don't want discuss and analyse my use-case.<br>
Fact: If file size on disk changes the file has been changed!</p>

<blockquote>
<p>I would want to know this works for all sorts of funny file systems, for GIO and non-GIO situations etc since we have always had issues with annoying unneccessary notifications and with missed notifications. We seem to have just got that calmed down a bit and I wouldn't want to stir it up again.</p>
</blockquote>

<p>I only added code to get also the file size from the ( <strong>already used</strong> ) functions <em>g_stat()</em> and <em>g_file_query_info()</em>.<br>
So if they work as expected this should run on all funny file systems.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1175#issuecomment-239606748">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJxLnh14223zUO1rWw5GRkTpO3Rmnks5qfWzkgaJpZM4JiRmx">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ5zLsvV4LFc1tAZMB7bjksYJDzKHks5qfWzkgaJpZM4JiRmx.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/1175#issuecomment-239606748"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@StefanOberhumer in #1175: \u003e I am not sure I understand your use-case, if you change mtime backward geany won't trigger, but if the file size is changed the tarball won't be consistent anyway, so there is not reason to set mtime backward, so geany will trigger.\r\n\r\nI don't want discuss and analyse my use-case.\r\nFact: If file size on disk changes the file has been changed!\r\n\r\n\r\n\u003e I would want to know this works for all sorts of funny file systems, for GIO and non-GIO situations etc since we have always had issues with annoying unneccessary notifications and with missed notifications. We seem to have just got that calmed down a bit and I wouldn't want to stir it up again.\r\n\r\nI only added code to get also the file size from the ( **already used** ) functions *g_stat()* and *g_file_query_info()*.\r\nSo if they work as expected this should run on all funny file systems."}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/1175#issuecomment-239606748"}}}</script>