diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-05-31 12:09:21 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-31 12:09:21 -0700 |
commit | 15af7075fc21877320a3fcf251201b209af5253a (patch) | |
tree | 3a53c7363750eada9802543888278a9756a7ad7e /Documentation | |
parent | Merge branch 'jc/log-quiet-fix' (diff) | |
parent | git-sh-i18n--envsubst: add SYNOPSIS section to the documentation (diff) | |
download | tgif-15af7075fc21877320a3fcf251201b209af5253a.tar.xz |
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.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/git-sh-i18n--envsubst.txt b/Documentation/git-sh-i18n--envsubst.txt index f5bbf7750d..61e4c08dac 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 ----------- |