FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix typo in tutorial by lqez · Pull Request #115 · gitpython-developers/GitPython · GitHub

Repository navigation

Fix typo in tutorial - #115

Closed
lqez wants to merge 1 commit into
gitpython-developers:0.3from
lqez:0.3
Closed

lqez wants to merge 1 commit into
gitpython-developers:0.3from
lqez:0.3

Conversation

lqez commented Jul 30, 2013

Copy link
Copy Markdown

I fixed typo and wrong representation of tree mode in tutorial.
htc is a obvious typo of hct and hct.mode is an octal value, so it must be 16384, not 040000 without %06o.

Comment thread doc/source/tutorial.rst

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

To respect the original example, this change is more suitable.

oct(hct.mode)
'040000'
oct(hct.blobs[0].mode)
'0100644'

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks. I didn't know oct().

lqez commented Jul 30, 2013

Copy link
Copy Markdown
Author

I agree with @Kroisse.

lqez closed this Jul 30, 2013
govtech42 pushed a commit to mirror81/GitPython that referenced this pull request Jul 25, 2026
…ch-1

Potential Race Condition Fix - OS Rename & Chmod - PermissionError
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL