Fossil SCM

Half of [d700f5ff4f215c69 | the prior commit] was unnecessary. Backed it out.

wyoung 2021-09-02 07:56 trunk
Commit 9a4e87a3b6cd7b9e3234c78d1e4aa6882c6ffbbfab3eb5e7d36ebdfba5b6f21c
1 file changed -2
--- src/clone.c
+++ src/clone.c
@@ -353,13 +353,11 @@
353353
** Look for SSH clone command line options and setup in globals.
354354
*/
355355
void clone_ssh_find_options(void){
356356
const char *zSshCmd; /* SSH command string */
357357
358
- db_unprotect(PROTECT_ALL);
359358
zSshCmd = find_option("ssh-command","c",1);
360
- db_protect_pop();
361359
if( zSshCmd && zSshCmd[0] ){
362360
g.zSshCmd = mprintf("%s", zSshCmd);
363361
}
364362
}
365363
366364
--- src/clone.c
+++ src/clone.c
@@ -353,13 +353,11 @@
353 ** Look for SSH clone command line options and setup in globals.
354 */
355 void clone_ssh_find_options(void){
356 const char *zSshCmd; /* SSH command string */
357
358 db_unprotect(PROTECT_ALL);
359 zSshCmd = find_option("ssh-command","c",1);
360 db_protect_pop();
361 if( zSshCmd && zSshCmd[0] ){
362 g.zSshCmd = mprintf("%s", zSshCmd);
363 }
364 }
365
366
--- src/clone.c
+++ src/clone.c
@@ -353,13 +353,11 @@
353 ** Look for SSH clone command line options and setup in globals.
354 */
355 void clone_ssh_find_options(void){
356 const char *zSshCmd; /* SSH command string */
357
 
358 zSshCmd = find_option("ssh-command","c",1);
 
359 if( zSshCmd && zSshCmd[0] ){
360 g.zSshCmd = mprintf("%s", zSshCmd);
361 }
362 }
363
364

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button