gitolite/src/commands
Sitaram Chamarty ea3d04ea0a perms batch mode confuses; print something to help
What happens is that running

    ssh git@host perms reponame

appears to hang, since it is waiting for STDIN.  I added a message to
help, since we don't want users losing files accidentally!

(The other alternative is to add a specific option for batch mode, but
this is backward incompatible for people who have scripts that may be
doing this).

thanks to Caleb Cushing for catching this

----

The "make sure Ctrl-C gets caught" thing needs some explanation.

Without it, a user could inadvertently lose his gl-perms file if he ran
the command in batch mode.  You'd think that the Ctrl-C would hit the

    for (<>) {

line and bail, but it manages to reach the

    _print( $pf, @a );

line somehow.  Even trapping SIG INT does not help.

I suspect it is to do with how signals are propagated by ssh across a
"no-pty" session, but am not sure.
2012-12-29 13:40:13 +05:30
..
access move repo/user validity check deeper 2012-05-06 19:02:42 +05:30
create new features relating to creating wild repos: 2012-11-22 20:50:20 +05:30
creator supporting DOS and fake Unix... 2012-04-06 21:13:56 +05:30
D D: allow rm and unlock to be disabled 2012-12-19 07:19:50 +05:30
desc external programs can get settings from rc; see below 2012-03-24 10:30:46 +05:30
fork a few minor changes 2012-12-04 05:43:48 +05:30
git-config 'gitolite git-config' should print only value when regex not used... 2012-04-08 11:31:04 +05:30
help 'help' command barfage fix 2012-08-30 18:40:24 +05:30
htpasswd migrated htpasswd command from g2. 2012-05-03 11:04:22 +05:30
info (fix bugly) info -ld should handle missing description files more gracefully 2012-05-23 03:37:52 +05:30
list-dangling-repos fix bug in list-dangling-repos 2012-12-19 06:31:11 +05:30
lock Fixed bug in lock script 2012-11-27 08:09:46 +05:30
mirror perms batch mode confuses; print something to help 2012-12-29 13:40:13 +05:30
perms perms batch mode confuses; print something to help 2012-12-29 13:40:13 +05:30
print-default-rc supporting DOS and fake Unix... 2012-04-06 21:13:56 +05:30
push added 'gitolite push' to make server side pushes easier... 2012-04-03 16:40:06 +05:30
rsync 'rsync' command to create and send bundles (manual smoke test only) 2012-07-19 14:40:41 +05:30
sshkeys-lint (minor) lint had syntax errors 2012-12-07 17:30:56 +05:30
sskm (minor) do not run gitolite query-rc from *perl* programs! 2012-04-13 15:35:13 +05:30
sudo sudo command: CLI fix: 2 non-empty args required 2012-11-22 20:50:20 +05:30
svnserve (minor) add svnserve command 2012-04-18 06:23:21 +05:30
symbolic-ref migrated symbolic-ref command 2012-05-27 05:58:43 +05:30
who-pushed migrated 'who-pushed' command (manual smoke test only) 2012-07-17 16:52:56 +05:30
writable logging die and warn messages 2012-04-18 06:23:21 +05:30