(minor typo fix)

This commit is contained in:
Sitaram Chamarty 2012-05-01 12:05:17 +05:30
parent 850882c1a6
commit c145528849
2 changed files with 2 additions and 2 deletions

View file

@ -137,7 +137,7 @@ sub setup_gladmin {
tsh_try("git config --get user.email") or tsh_run( "git config user.email $ENV{USER}\@" . `hostname` ); tsh_try("git config --get user.email") or tsh_run( "git config user.email $ENV{USER}\@" . `hostname` );
tsh_try("git config --get user.name") or tsh_run( "git config user.name '$ENV{USER} on '" . `hostname` ); tsh_try("git config --get user.name") or tsh_run( "git config user.name '$ENV{USER} on '" . `hostname` );
tsh_try("git diff --cached --quiet") tsh_try("git diff --cached --quiet")
or tsh_try("git commit -am 'gl-setup $argv'") or tsh_try("git commit -am 'gitolite setup $argv'")
or _die "setup failed to commit to the admin repo"; or _die "setup failed to commit to the admin repo";
delete $ENV{GIT_WORK_TREE}; delete $ENV{GIT_WORK_TREE};
} }

View file

@ -47,7 +47,7 @@ try "
DEF ADMIN_PUSH = AP_2 %1; glt push admin origin; ok; gsh; /master -> master/ DEF ADMIN_PUSH = AP_2 %1; glt push admin origin; ok; gsh; /master -> master/
DEF CS_1 = pwd; //tmp/tsh_tempdir.*gitolite-admin/; git remote -v; ok; /file://gitolite-admin/ DEF CS_1 = pwd; //tmp/tsh_tempdir.*gitolite-admin/; git remote -v; ok; /file://gitolite-admin/
DEF CHECK_SETUP = CS_1; git log; ok; /6b18ec2ab0f765122ec133959b36c57f77d4565c/ DEF CHECK_SETUP = CS_1; git log; ok; /fa7564c1b903ea3dce49314753f25b34b9e0cea0/
DEF CLONE = glt clone %1 file:///%2 DEF CLONE = glt clone %1 file:///%2
DEF PUSH = glt push %1 origin DEF PUSH = glt push %1 origin