Revision efd02e92c9961063bae63da7f7446868a38f14ce authored by Junio C Hamano on 31 May 2011, 19:08:48 UTC, committed by Junio C Hamano on 31 May 2011, 19:08:48 UTC
* jl/read-tree-m-dry-run:
  Teach read-tree the -n|--dry-run option
  unpack-trees: add the dry_run flag to unpack_trees_options
2 parent s 2951df7 + ea5070c
Raw File
git-sh-i18n.sh
#!/bin/sh
#
# Copyright (c) 2010 Ævar Arnfjörð Bjarmason
#
# This is a skeleton no-op implementation of gettext for Git. It'll be
# replaced by something that uses gettext.sh in a future patch series.

if test -z "$GIT_GETTEXT_POISON"
then
	gettext () {
		printf "%s" "$1"
	}

	eval_gettext () {
		printf "%s" "$1" | (
			export PATH $(git sh-i18n--envsubst --variables "$1");
			git sh-i18n--envsubst "$1"
		)
	}
else
	gettext () {
		printf "%s" "# GETTEXT POISON #"
	}

	eval_gettext () {
		printf "%s" "# GETTEXT POISON #"
	}
fi

back to top