From: "Rose via GitGitGadget" <gitgitgadget@gmail.com>
To: git@vger.kernel.org
Cc: Rose <83477269+AtariDreams@users.noreply.github.com>,
Seija Kijin <doremylover123@gmail.com>
Subject: [PATCH] fsm-listen-daarwin: combine bit operations
Date: Tue, 17 Jan 2023 21:25:56 +0000 [thread overview]
Message-ID: <pull.1437.git.git.1673990756466.gitgitgadget@gmail.com> (raw)
From: Seija Kijin <doremylover123@gmail.com>
Signed-off-by: Seija Kijin <doremylover123@gmail.com>
---
fsm-listen-daarwin: combine bit operations
Signed-off-by: Seija Kijin doremylover123@gmail.com
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1437%2FAtariDreams%2Fdarwin-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1437/AtariDreams/darwin-v1
Pull-Request: https://github.com/git/git/pull/1437
compat/fsmonitor/fsm-listen-darwin.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/compat/fsmonitor/fsm-listen-darwin.c b/compat/fsmonitor/fsm-listen-darwin.c
index 97a55a6f0a4..fccdd21d858 100644
--- a/compat/fsmonitor/fsm-listen-darwin.c
+++ b/compat/fsmonitor/fsm-listen-darwin.c
@@ -129,9 +129,9 @@ static int ef_is_root_renamed(const FSEventStreamEventFlags ef)
static int ef_is_dropped(const FSEventStreamEventFlags ef)
{
- return (ef & kFSEventStreamEventFlagMustScanSubDirs ||
- ef & kFSEventStreamEventFlagKernelDropped ||
- ef & kFSEventStreamEventFlagUserDropped);
+ return (ef & (kFSEventStreamEventFlagMustScanSubDirs |
+ kFSEventStreamEventFlagKernelDropped |
+ kFSEventStreamEventFlagUserDropped));
}
/*
base-commit: a7caae2729742fc80147bca1c02ae848cb55921a
--
gitgitgadget
next reply other threads:[~2023-01-17 23:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-17 21:25 Rose via GitGitGadget [this message]
2023-01-17 21:54 ` [PATCH v2] fsm-listen-darwin: combine bit operations Rose via GitGitGadget
2023-01-20 15:48 ` Jeff Hostetler
2023-01-20 17:52 ` Junio C Hamano
2023-01-20 19:48 ` Jeff Hostetler
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=pull.1437.git.git.1673990756466.gitgitgadget@gmail.com \
--to=gitgitgadget@gmail.com \
--cc=83477269+AtariDreams@users.noreply.github.com \
--cc=doremylover123@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).