summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-05-31 19:09:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-05-31 19:09:21 (GMT)
commit15af7075fc21877320a3fcf251201b209af5253a (patch)
tree3a53c7363750eada9802543888278a9756a7ad7e /Documentation
parentb9575e78e504d0fed4747bb2325aa09e2626b6e9 (diff)
parentf5008f56d5aba06598e1c6272f4f55b4ee4bb016 (diff)
downloadgit-15af7075fc21877320a3fcf251201b209af5253a.zip
git-15af7075fc21877320a3fcf251201b209af5253a.tar.gz
git-15af7075fc21877320a3fcf251201b209af5253a.tar.bz2
Merge branch 'ab/i18n-envsubst-doc-fix'
* ab/i18n-envsubst-doc-fix: git-sh-i18n--envsubst: add SYNOPSIS section to the documentation
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-sh-i18n--envsubst.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/git-sh-i18n--envsubst.txt b/Documentation/git-sh-i18n--envsubst.txt
index f5bbf77..61e4c08 100644
--- a/Documentation/git-sh-i18n--envsubst.txt
+++ b/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
-----------