Skip to content

Commit ce8785e

Browse files
committed
git-extra: increment version
This git-extra package fixes the slow Git Bash startup when the current machine is part of a Windows domain with many users. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 691e743 commit ce8785e

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

git-extra/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
pkgname=('git-extra')
44
_ver_base=1.1
5-
pkgver=1.1.58.73e9af3
5+
pkgver=1.1.60.691e743
66
pkgrel=1
77
pkgdesc="Git for Windows extra files"
88
arch=('i686' 'x86_64')

git-extra/git-extra.install

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,15 @@ GITCONFIG
2828
done
2929

3030
grep -q '^db_home: env windows' /etc/nsswitch.conf ||
31-
sed -i 's/^\(db_\(home\|shell\|gecos\): \)\(windows \)\?\([^w]\)/\1env windows \4/' \
31+
sed -i 's/^\(db_home: \)\(windows \)\?\([^w]\)/\1env windows \3/' \
32+
/etc/nsswitch.conf
33+
34+
! grep -q '^db_shell: [^#]*cygwin' /etc/nsswitch.conf ||
35+
sed -i 's/^\(db_shell: \)\(env \)\?\(windows \)\?/\1env windows # /' \
36+
/etc/nsswitch.conf
37+
38+
! grep -q '^db_gecos: [^#]*\(cygwin\|windows\)' /etc/nsswitch.conf ||
39+
sed -i 's/^\(db_gecos: \)\(env \)\?\([^e]\)/\1env # \3/' \
3240
/etc/nsswitch.conf
3341

3442
! grep -q '^PS1=' /etc/bash.bashrc ||

0 commit comments

Comments
 (0)