Go to main content

man pages section 1: User Commands

Exit Print View

Updated: July 2017
 
 

git-sh-i18n (1)

Name

git-sh-i18n - Git's i18n setup code for shell scripts

Synopsis

. "$(git --exec-path)/git-sh-i18n"

Description

GIT-SH-I18N(1)                    Git Manual                    GIT-SH-I18N(1)



NAME
       git-sh-i18n - Git's i18n setup code for shell scripts

SYNOPSIS
       . "$(git --exec-path)/git-sh-i18n"


DESCRIPTION
       This is not a command the end user would want to run. Ever. This
       documentation is meant for people who are studying the Porcelain-ish
       scripts and/or are writing new ones.

       The 'git sh-i18n scriptlet is designed to be sourced (using .) by Git's
       porcelain programs implemented in shell script. It provides wrappers
       for the GNU gettext and eval_gettext functions accessible through the
       gettext.sh script, and provides pass-through fallbacks on systems
       without GNU gettext.

FUNCTIONS
       gettext
           Currently a dummy fall-through function implemented as a wrapper
           around printf(1). Will be replaced by a real gettext implementation
           in a later version.

       eval_gettext
           Currently a dummy fall-through function implemented as a wrapper
           around printf(1) with variables expanded by the git-sh-
           i18n--envsubst(1) helper. Will be replaced by a real gettext
           implementation in a later version.

GIT
       Part of the git(1) suite



ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:


       +---------------+--------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
       +---------------+--------------------------+
       |Availability   | developer/versioning/git |
       +---------------+--------------------------+
       |Stability      | Uncommitted              |
       +---------------+--------------------------+
NOTES
       This software was built from source available at
       https://java.net/projects/solaris-userland.  The original community
       source was downloaded from
       https://www.kernel.org/pub/software/scm/git/git-2.7.4.tar.xz

       Further information about this software can be found on the open source
       community website at http://git-scm.com/.



Git 2.7.4                         03/17/2016                    GIT-SH-I18N(1)