summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/vc/files/vc-0.5-git-status.patch')
-rw-r--r--dev-tex/vc/files/vc-0.5-git-status.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-tex/vc/files/vc-0.5-git-status.patch b/dev-tex/vc/files/vc-0.5-git-status.patch
deleted file mode 100644
index e67007d..0000000
--- a/dev-tex/vc/files/vc-0.5-git-status.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- vc-orig/git-unix/vc
-+++ vc/git-unix/vc
-@@ -20,5 +20,5 @@
- git --no-pager log -1 HEAD --pretty=format:"Hash: %H%nAbr. Hash: %h%nParent Hashes: %P%nAbr. Parent Hashes: %p%nAuthor Name: %an%nAuthor Email: %ae%nAuthor Date: %ai%nCommitter Name: %cn%nCommitter Email: %ce%nCommitter Date: %ci%n" |gawk -v script=log -v full=$full -f vc-git.awk > vc.tex
- if [ "$mod" = 1 ]
- then
-- git status |gawk -v script=status -f vc-git.awk >> vc.tex
-+ git status --porcelain |gawk -v script=status -f vc-git.awk >> vc.tex
- fi
---- vc-orig/git-unix/vc-git.awk
-+++ vc/git-unix/vc-git.awk
-@@ -26,9 +26,9 @@
-
- ### Process output of "git status".
- ### Changed index?
--script=="status" && /^# Changes to be committed:/ { modified = 1 }
-+script=="status" && /^[MADRC]/ { if (modified == 0) modified = 1 }
- ### Unstaged modifications?
--script=="status" && /^# Changed but not updated:/ { modified = 2 }
-+script=="status" && /^.[MD]/ { modified = 2 }
-
-
-