From e5339553e992e6c4f6332d24c47b3240bf337020 Mon Sep 17 00:00:00 2001 From: Park Hyunwoo Date: Tue, 30 Jul 2013 15:48:50 +0900 Subject: [PATCH] Fix typo in tutorial --- doc/source/tutorial.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/tutorial.rst b/doc/source/tutorial.rst index 4dcfad4aa..62bed6cee 100644 --- a/doc/source/tutorial.rst +++ b/doc/source/tutorial.rst @@ -146,9 +146,9 @@ Index Objects are objects that can be put into git's index. These objects are tr '' hct.trees[0].path # the first subdirectory has one though 'dir' - htc.mode # trees have the mode of a linux directory + oct(htc.mode) # trees have the mode of a linux directory 040000 - '%o' % htc.blobs[0].mode # blobs have a specific mode though comparable to a standard linux fs + oct(htc.blobs[0].mode) # blobs have a specific mode though comparable to a standard linux fs 100644 Access blob data (or any object data) directly or using streams::