From ab2a14c324fbc36eebf7de3c7fb2ca4a9f5e591b Mon Sep 17 00:00:00 2001 From: Jun Wu Date: Thu, 29 Feb 2024 10:41:48 -0800 Subject: [PATCH] isl-server: update PLAINEXCEPT to bypass sniff limitation Summary: See the previous diff D54221105 for context. Reviewed By: evangrayk Differential Revision: D54221104 fbshipit-source-id: b012e81f54302427eceda1e2e34f300f07793479 --- addons/isl-server/src/commands.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/isl-server/src/commands.ts b/addons/isl-server/src/commands.ts index 393a971003a8e..8ae077b2fecc5 100644 --- a/addons/isl-server/src/commands.ts +++ b/addons/isl-server/src/commands.ts @@ -194,7 +194,9 @@ export function getExecParams( SL_ENCODING: 'UTF-8', // override any custom aliases a user has defined. SL_AUTOMATION: 'true', - SL_AUTOMATION_EXCEPT: 'phrevset', // allow looking up diff numbers even in plain mode + // allow looking up diff numbers even in plain mode. + // allow constructing the `.git/sl` repo regardless of the identity. + SL_AUTOMATION_EXCEPT: 'phrevset,sniff', // Prevent user-specified merge tools from attempting to // open interactive editors. HGMERGE: ':merge3',