소스 검색

[annex] correct annex path for file view

cgars 8 년 전
부모
커밋
7b82f61b7c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      templates/repo/view_file.tmpl

+ 2 - 2
templates/repo/view_file.tmpl

@@ -75,12 +75,12 @@
 						with the web interface.
 						with the web interface.
 						{{if not $.DisableSSH}}
 						{{if not $.DisableSSH}}
 						<div>
 						<div>
-							You can nevertheless download it by first cloning the repository with git and getting trhe file using git
+							You can nevertheless download it by first cloning the repository with git and getting the file using git
 							annex using:
 							annex using:
 						</div>
 						</div>
 						<div class="markdown">
 						<div class="markdown">
 							<pre><code>git clone {{.CloneLink.SSH}}
 							<pre><code>git clone {{.CloneLink.SSH}}
-git annex get {{.FileName}}
+git annex get {{.TreePath}}
 							</code></pre>
 							</code></pre>
 						</div>
 						</div>
 						<div>
 						<div>