Dnia 2015-02-02, o godz. 10:46:34
Ulrich Mueller napisał(a):
> > On Sun, 1 Feb 2015, I wrote:
>
> > On Sun, 1 Feb 2015, Michał Górny wrote:
>
> >>> + local restore_umask=":"
> >>> + if [[ ${EVCS_UMASK} ]]; then
> >>> + restore_umask=$(umask -p)
> >>> +
> On Sun, 1 Feb 2015, I wrote:
> On Sun, 1 Feb 2015, Michał Górny wrote:
>>> + local restore_umask=":"
>>> + if [[ ${EVCS_UMASK} ]]; then
>>> + restore_umask=$(umask -p)
>>> + umask "${EVCS_UMASK}" || die "Bad options to umask:
>>>
> On Sun, 1 Feb 2015, Michał Górny wrote:
>> @@ -309,8 +320,14 @@ _git-r3_set_gitdir() {
>>
>> addwrite "${EGIT3_STORE_DIR}"
>> if [[ ! -d ${GIT_DIR} ]]; then
>> +local restore_umask=":"
>> +if [[ ${EVCS_UMASK} ]]; then
>> +restore_umask=$(umask -p)
Dnia 2015-02-01, o godz. 23:18:01
Ulrich Mueller napisał(a):
> @@ -309,8 +320,14 @@ _git-r3_set_gitdir() {
>
> addwrite "${EGIT3_STORE_DIR}"
> if [[ ! -d ${GIT_DIR} ]]; then
> + local restore_umask=":"
> + if [[ ${EVCS_UMASK} ]]; then
> +
Attached patch makes git-r3.eclass respect EVCS_UMASK.
See the variable's description in the patch itself (stolen from
subversion.eclass) for the use case.
Ulrich
Index: git-r3.eclass
===
RCS file: /var/cvsroot/gentoo-x86/eclass/git-