Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-08-23 13:28:19 +0400
committernulltoken <emeric.fermas@gmail.com>2012-08-23 13:28:19 +0400
commit0bcfb51563b9aef4ae79e705ae0b626de5f0a5c2 (patch)
tree8f1ab4b33359c48092759b6791c9c887d4a39373 /LibGit2Sharp/TreeDefinition.cs
parent64c052e316a0b83b50c9f4407b51a87ef9dd172e (diff)
Straighten the creation of a Blob in the database
Diffstat (limited to 'LibGit2Sharp/TreeDefinition.cs')
-rw-r--r--LibGit2Sharp/TreeDefinition.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/LibGit2Sharp/TreeDefinition.cs b/LibGit2Sharp/TreeDefinition.cs
index 8a725a5e..2032229b 100644
--- a/LibGit2Sharp/TreeDefinition.cs
+++ b/LibGit2Sharp/TreeDefinition.cs
@@ -147,7 +147,8 @@ namespace LibGit2Sharp
/// Adds or replaces a <see cref="TreeEntryDefinition"/>, dynamically built from the content of the file, at the specified <paramref name="targetTreeEntryPath"/> location.
/// </summary>
/// <param name="targetTreeEntryPath">The path within this <see cref="TreeDefinition"/>.</param>
- /// <param name="filePath">The path to the file from which a <see cref="Blob"/> will be built and stored at the described location.</param>
+ /// <param name="filePath">The path to the file from which a <see cref="Blob"/> will be built and stored at the described location. A relative path is allowed to be passed if the target
+ /// <see cref="Repository" /> is a standard, non-bare, repository. The path will then be considered as a path relative to the root of the working directory.</param>
/// <param name="mode">The file related <see cref="Mode"/> attributes.</param>
/// <returns>The current <see cref="TreeDefinition"/>.</returns>
public TreeDefinition Add(string targetTreeEntryPath, string filePath, Mode mode)