This is an automated email from the ASF dual-hosted git repository.

tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 4647333e4f1 Lightweight git status
4647333e4f1 is described below

commit 4647333e4f14af5eee679007f89ff39d3e80c59d
Author: tison <[email protected]>
AuthorDate: Fri Feb 17 07:33:13 2023 +0800

    Lightweight git status
    
    Signed-off-by: tison <[email protected]>
---
 tools/pytools/lib/execute/site_uploader.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/pytools/lib/execute/site_uploader.py 
b/tools/pytools/lib/execute/site_uploader.py
index 904ae9ec611..35e8a4359ae 100755
--- a/tools/pytools/lib/execute/site_uploader.py
+++ b/tools/pytools/lib/execute/site_uploader.py
@@ -72,5 +72,5 @@ def execute(mode: Mode, msg: str, site: Path, branch: str):
         _do_push(msg, site, branch)
     else:  # show changes
         git = find_command('git', msg="git is required")
-        change_files = run_pipe(git, 'status', '--porcelain', 
cwd=site).read().strip()
+        change_files = run_pipe(git, 'status', '--short', 
cwd=site).read().strip()
         print(f'\nchange files:\n{change_files}\n')

Reply via email to