Skip to content
Browse files

Merge branch 'ab/i18n-envsubst-doc-fix'

* ab/i18n-envsubst-doc-fix:
  git-sh-i18n--envsubst: add SYNOPSIS section to the documentation
  • Loading branch information...
2 parents b9575e7 + f5008f5 commit 15af7075fc21877320a3fcf251201b209af5253a @gitster gitster committed May 31, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 Documentation/git-sh-i18n--envsubst.txt
View
10 Documentation/git-sh-i18n--envsubst.txt
@@ -5,6 +5,16 @@ NAME
----
git-sh-i18n--envsubst - Git's own envsubst(1) for i18n fallbacks
+SYNOPSIS
+--------
+[verse]
+eval_gettext () {
+ printf "%s" "$1" | (
+ export PATH $('git sh-i18n--envsubst' --variables "$1");
+ 'git sh-i18n--envsubst' "$1"
+ )
+}
+
DESCRIPTION
-----------

0 comments on commit 15af707

Please sign in to comment.
Something went wrong with that request. Please try again.