From: Mohammad Al Zouabi <mb.alzouabi@gmail.com>
To: git@vger.kernel.org
Subject: Ignore specific changes but not the entire file
Date: Thu, 28 Mar 2024 15:46:08 +0800 [thread overview]
Message-ID: <CAAQqY-NKvWMLo_Bcby5-QYPOj-jbWeVA3zGL=_sq2p2bGZQBEA@mail.gmail.com> (raw)
The problem with:
```sh
git update-index [--skip-worktree|--assume-unchanged]
```
Is that it ignores the entire file.
Is there a plan to support something that remembers what was exactly
ignored, and if there are changes to it, either un-ignore the file, or
display the hunks that were changed?
Something like committing the change but not actually committing it.
next reply other threads:[~2024-03-28 7:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-28 7:46 Mohammad Al Zouabi [this message]
2024-03-28 22:20 ` Ignore specific changes but not the entire file brian m. carlson
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='CAAQqY-NKvWMLo_Bcby5-QYPOj-jbWeVA3zGL=_sq2p2bGZQBEA@mail.gmail.com' \
--to=mb.alzouabi@gmail.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).