Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit97ab197

Browse files
committed
docs: untracked_files is a property, but was used like a function, seehttp://groups.google.com/group/git-python/browse_thread/thread/84ed1835e26a5296?hl=en
1 parent8858a63 commit97ab197

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎doc/doc_index/0.2/tutorial.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ <h2>Initialize a Repo object<a class="headerlink" href="#initialize-a-repo-objec
7070
<p>Query the active branch, query untracked files or whether the repository data has been modified:</p>
7171
<divclass="highlight-python"><divclass="highlight"><pre><spanclass="n">repo</span><spanclass="o">.</span><spanclass="n">is_dirty</span><spanclass="p">()</span>
7272
<spanclass="bp">False</span>
73-
<spanclass="n">repo</span><spanclass="o">.</span><spanclass="n">untracked_files</span><spanclass="p">()</span>
73+
<spanclass="n">repo</span><spanclass="o">.</span><spanclass="n">untracked_files</span>
7474
<spanclass="p">[</span><spanclass="s">&#39;my_untracked_file&#39;</span><spanclass="p">]</span>
7575
</pre></div>
7676
</div>

‎doc/source/tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Query the active branch, query untracked files or whether the repository data h
3333
3434
repo.is_dirty()
3535
False
36-
repo.untracked_files()
36+
repo.untracked_files
3737
['my_untracked_file']
3838
3939
Clone from existing repositories or initialize new empty ones::

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp