git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ridil culous <reallyridilculous@gmail.com>
To: gitster@pobox.com
Cc: git@vger.kernel.org, reallyridilculous@gmail.com
Subject: Re: Feature Request: Allow to stash push and pop file modification times to avoid rebuilds
Date: Wed, 22 Mar 2023 12:13:29 +0100	[thread overview]
Message-ID: <20230322111329.781-1-reallyridilculous@gmail.com> (raw)
In-Reply-To: <xmqq5yathkwh.fsf@gitster.g>

Sorry, i wrongly addressed my reply before (https://lore.kernel.org/git/20230322110309.760-1-reallyridilculous@gmail.com/) to rsbecker.

Junio C Hamano <gitster@pobox.com> wrote:

> Now what timestamp should "stash pop" give to the working tree files
> in this case?  The contents of the file probably is identical to the
> timestamp of the working tree files immediately before "stash push"
> was run.  If we restore the original timestamp, because it is way
> older than the build artifacts of your second build (which was done
> after "stash push"), the build artifacts would not be recreated.

The usecase for which i'd like to have the feature would avoid that because there would be only build artefacts from the time of "stash push".

      reply	other threads:[~2023-03-22 11:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-21 20:46 Feature Request: Allow to stash push and pop file modification times to avoid rebuilds Ridil culous
2023-03-21 20:59 ` rsbecker
2023-03-22 11:03   ` Ridil culous
2023-03-21 21:09 ` Junio C Hamano
2023-03-22 11:13   ` Ridil culous [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230322111329.781-1-reallyridilculous@gmail.com \
    --to=reallyridilculous@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).