bito-code-review[bot] commented on PR #44578:
URL: https://github.com/apache/superset/pull/44578#issuecomment-5800202781

   <!-- Bito Reply -->
   The issue is correct: `git stash create` only considers tracked files, 
meaning new, untracked files are ignored by the snapshot. To include untracked 
files, you can use `git add -A` (or `git add .`) before creating the stash, or 
use `git stash create --include-untracked` if your Git version supports it. 
Given the context of creating a snapshot for extraction, using `git stash 
create --include-untracked` is the most direct resolution.
   
   **scripts/translations/check_pot_drift.py**
   ```
   proc = subprocess.Popen(  # noqa: S603
           ["git", "stash", "create", "--include-untracked"],  # noqa: S607
           cwd=ROOT_DIR,
           stdout=subprocess.PIPE,
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to