Re: [Request] Git reset should be able to ignore file permissions

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [Request] Git reset should be able to ignore file permissions

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:57:50

Matthieu Moy [off-list ref] writes:
Alexander Nestorov [off-list ref] writes:
quoted
Ok, this is how it looks. If everything is ok, I'm sending it to the ML
Please, read Documentation/SubmittingPatches (you lack a sign-off and if
you think the patch is ready, you should Cc Junio). Also, it's better to
have the commit headers directly as mail headers (git send-email is your
friend).
quoted
+Reset only files who's content changed (instead of stat information)::
That's still not 100% accurate. Actual mode changes would trigger a
rewrite of the file. Perhaps stg like

Reset only files which actually changed (not those with only stat information change)::

(Sorry for nitpicking so much)
I do not think the above clarifies anything to be of much help.

If you _know_ what "actually changed" means, i.e. either contents or
the executable-ness changed, then "(not those ...)" does not help
you at all.

If you don't, then "only stat information change" will invite "I did
chmod -x and the file does not have any actual change." confusion.

If this addition is to help people who do not know what "actually
changed" means, that part needs to be clarified, no?

Re: [Request] Git reset should be able to ignore file permissions

From: Alexander Nestorov <hidden>
Date: 2016-06-15 22:57:51

@Matthieu
 Ok, I'm replacing with "Reset only files which actually changed (not
those with only stat information change)"

@Junio
 I'm not sure what you're asking, sorry, I'm not able to understand
your question.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help