Skip to content

Commit

Permalink
fix(http): correct exception help for git user.email
Browse files Browse the repository at this point in the history
Signed-off-by: John Andersen <[email protected]>
  • Loading branch information
johnandersen777 committed Nov 29, 2024
1 parent ef0bcac commit 1dd2434
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "gitatp"
version = "0.2.0"
version = "0.2.1"
description = "Git over ATProto"
readme = {file = "README.md", content-type = "text/markdown"}
authors = [
Expand Down
2 changes: 1 addition & 1 deletion src/gitatp/git_http_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
try:
atproto_email = config["user"]["email"]
except Exception as e:
raise Exception(f"You must run: $ git config --global user.atproto $USER.atproto-pds.fqdn.example.com") from e
raise Exception(f"You must run: $ git config --global user.email $USER@example.com") from e

atproto_handle_username = atproto_handle.split(".")[0]
atproto_base_url = "https://" + ".".join(atproto_handle.split(".")[1:])
Expand Down

0 comments on commit 1dd2434

Please sign in to comment.