WikiLog: filter to sidecar edits only (author @bincio.wiki)
This commit is contained in:
+1
-1
@@ -245,7 +245,7 @@ app.add_middleware(
|
||||
async def get_wiki_log(user: User = Depends(require_auth)) -> JSONResponse:
|
||||
env = _git_env()
|
||||
proc = await asyncio.create_subprocess_exec(
|
||||
"git", "log", "--format=%h|%ar|%aN|%s", "-n", "50", "--", "pages/", "blog/",
|
||||
"git", "log", "--format=%h|%ar|%aN|%s", "--author=@bincio.wiki", "-n", "50", "--", "pages/", "blog/",
|
||||
cwd=str(_ROOT), env=env,
|
||||
stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.DEVNULL,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user