File: doc-no-git.patch

package info (click to toggle)
numba 0.61.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 16,464 kB
  • sloc: python: 211,558; ansic: 15,233; cpp: 6,544; javascript: 424; sh: 322; makefile: 173
file content (13 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/docs/source/_ext/ghfiles.py b/docs/source/_ext/ghfiles.py
index 2a71982..72bcbc6 100644
--- a/docs/source/_ext/ghfiles.py
+++ b/docs/source/_ext/ghfiles.py
@@ -9,7 +9,7 @@ logger = logging.getLogger(__name__)
 # use an old git trick, to get the top-level, could have used ../ etc.. but
 # this will be fine..
 top = subprocess.check_output(shlex.split(
-    "git rev-parse --show-toplevel")).strip().decode("utf-8")
+    "true rev-parse --show-toplevel")).strip().decode("utf-8")
 
 
 def make_ref(text):