Skip to content

Commit bdc139e

Browse files
committed
zulip_git_config: Add old default branch name for compatibility.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 5da0857 commit bdc139e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zulip/integrations/git/zulip_git_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# * topic "main"
2525
# And similarly for branch "test-post-receive" (for use when testing).
2626
def commit_notice_destination(repo: str, branch: str, commit: str) -> Optional[Dict[str, str]]:
27-
if branch in ["main", "test-post-receive"]:
27+
if branch in ["main", "master", "test-post-receive"]:
2828
return dict(stream=STREAM_NAME, subject=f"{branch}")
2929

3030
# Return None for cases where you don't want a notice sent

0 commit comments

Comments
 (0)