From: Daniel Fanjul <daniel.fanjul.alcuten@gmail.com>
To: git-users@googlegroups.com
Cc: Git List <git@vger.kernel.org>
Subject: Re: [git-users] git checkout file with custom mtime
Date: Sat, 5 Jan 2019 22:44:47 +0100 [thread overview]
Message-ID: <CAPktr3k6GmYkTE9=0jcs8+4BEeeAnvQa6daxnwcqTwrL91Y-ug@mail.gmail.com> (raw)
In-Reply-To: <1413fbaa-8a83-0f43-afcb-5cb67683b505@iee.org>
I'm on Ubuntu. I do not use LFS. I track mods and saved games of
Skyrim with git, TESV.exe sorts the saved games only by their mtime. I
know it is not the most usual use case for git.
I agree with that viewpoint and I like the way git works right now, I
do not want to change that. Checking out the saved games and then
fixing the mtime works but forces a lot of unneeded I/O.
I forgot to mention that 'git update-index --assume-unchanged' does
not solve this well enough. Eventually 'git status' rereads the file
when that flag is removed. A better way for my use case would be being
able to set the proper mtime without forcing a rehash of the file that
yields the same object.
Thanks for your reply.
next prev parent reply other threads:[~2019-01-05 21:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <951cafaa-877b-4815-862f-5ffc43e6976a@googlegroups.com>
2019-01-05 20:35 ` [git-users] git checkout file with custom mtime Philip Oakley
2019-01-05 21:44 ` Daniel Fanjul [this message]
2019-01-09 16:20 ` Konstantin Khomoutov
2019-01-09 22:57 ` Daniel Fanjul
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPktr3k6GmYkTE9=0jcs8+4BEeeAnvQa6daxnwcqTwrL91Y-ug@mail.gmail.com' \
--to=daniel.fanjul.alcuten@gmail.com \
--cc=git-users@googlegroups.com \
--cc=git@vger.kernel.org \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).