DRSDavidSoft
cc40343157
Merge branch 'master' into development
2024-11-13 19:38:51 +00:00
David Refoua
25ccfeed77
prevent warnings if the dir does not exist
...
https://github.com/cmderdev/cmder/issues/121#issuecomment-654171568
2024-11-13 23:08:13 +03:30
David Refoua
4740b836f3
adjust indentation and merge from main
2024-10-17 19:46:22 +03:30
David Refoua
e220d114b2
add notes on what shim actually is
2024-10-17 19:43:14 +03:30
DRSDavidSoft
fbd4c0422c
Merge branch 'master' into development
2024-10-14 11:10:56 +00:00
David Refoua
540532f126
make library comments consistent and clean up code
2024-10-14 14:40:21 +03:30
DRSDavidSoft
e84f2ff365
Merge branch 'master' into development
2024-07-27 17:34:23 +00:00
Stan West
b56a6d43cb
Use single quotes inside double quotes
2024-07-26 20:24:12 -04:00
DRSDavidSoft
546d921e58
Merge branch 'master' into development
2024-05-28 13:49:59 +00:00
David Refoua
5145a15139
display git improper version string as debug
2024-05-28 17:19:47 +03:30
DRSDavidSoft
92c662de2f
Merge branch 'master' into development
2024-05-23 18:29:27 +00:00
David Refoua
92419a48fc
log the executable path for improper git
2024-05-23 21:59:16 +03:30
Dax T. Games
274cce1f00
optimize for speed
2023-02-10 19:19:50 -08:00
Dax T. Games
6bd2e260f0
Add time to debug output
2023-01-22 12:30:30 -08:00
David Refoua
e3d9f81e25
add prompt for vanilla cmd.exe when clink not present
2022-11-06 11:37:58 +03:30
David Refoua
5cdb98abb7
add escape code color
2022-10-18 16:20:30 +03:30
David Refoua
abbab3f8b4
trim trailing spaces
2022-10-15 12:46:13 +03:30
Dax T. Games
e2d817a497
Add set to fix error
2022-09-09 09:11:45 -04:00
David Refoua
d1b1012741
minimal comspec detection ( fixes #2744 )
2022-09-09 17:24:25 +04:30
Dax T. Games
59bbdaddc7
Cleanup
2022-09-04 09:16:39 -04:00
Dax T. Games
7a9ad78e66
Fix #2740
2022-09-01 13:00:43 +00:00
Dax T. Games
ce02fb4a0e
fix find latest git
2022-04-16 10:51:26 -04:00
dgames
357e51acd1
spelling fixes
2022-01-15 11:00:58 -05:00
dgames
6ae2f97f52
add quotes
2021-11-21 13:32:57 -05:00
dgames
c27cedc9b3
quote PATH settings
2021-11-07 10:54:33 -05:00
dgames
0a7f1623f7
fix path length check with fast_init set
2021-02-28 23:09:49 -05:00
dgames
d02be816e2
fix failure in lib_path if path is too long
2021-02-28 21:54:06 -05:00
Dax T Games
9088a5e2e6
Merge pull request #2430 from qfp64/faster-init
...
Improve init speed
2020-12-11 05:48:07 -05:00
Kyle McInnes
11a78a8d64
Fix errors
2020-12-10 13:35:40 +00:00
Kyle McInnes
2a9a4d2860
Speed up calls to lib_console
2020-12-07 19:41:11 +00:00
Dax T. Games
467b4d4ad9
hide possible file write conflict
2020-09-13 08:27:10 -04:00
Dax T. Games
ea6e18c834
hide possible file write confilct
2020-09-13 08:02:46 -04:00
Dax T. Games
d1adf16fa8
'fixes'
2020-08-24 20:27:56 -04:00
Dax T. Games
cda883bc39
add setlocal
2020-08-23 08:47:20 -04:00
Dax T. Games
b1ef763922
add setlocal
2020-08-23 08:42:58 -04:00
Dax T Games
80f76ad956
Merge pull request #2357 from FloSchwalm/fix-git-version-comparison
...
Fix git version comparison
2020-07-29 20:27:23 -04:00
Florian Schwalm
167c49ee6d
Rewrite old calls to :verbose_output to working %lib_console% verbose_output
2020-07-29 22:46:35 +02:00
Florian Schwalm
0ed10e5e89
Reorder if-else-clauses in :compare_git_versions so last else block can be reached
...
It is hard to spot without the brackets, but the last else block - that resets %test_dir% and
logs in verbose mode that an older user git version will be ignored - can't actually be reached.
The else block is considered to belong to the if clause "if exist "%test_dir:~0,-4%\cmd\git.exe""
that will only ever be executed if ERRORLEVEL is greather than or equal to 0, thus if the test fails,
the following else if clause "else if ERRORLEVEL 0" will always succeed and the last else block will be ignored.
Using the vendored git version may still have worked because %GIT_INSTALL_ROOT% isn't set either way,
but to enable the log message I reordered if-else-clauses and brackets in the way I think the
original author intended them to work.
2020-07-29 22:39:46 +02:00
Florian Schwalm
cd50db3a7f
Use ERRORLEVEL instead of %errorlevel% to compare git versions
...
%errorlevel% was always 0, even if the vendored git version was more current than the installed one
Usually exiting a batch script with "exit /b exitCode" as used in :compare_versions
sets %errorlevel% to the specified exit code
However, this may not work if %errorlevel% was set before with "Set errorlevel="
I didn't find the location where this might have happened,
but I saw the consequence of %errorlevel% always being 0
Thus I decided to use ERRORLEVEL instead as this will always work regardless of environment variable
For more information check https://ss64.com/nt/errorlevel.html
2020-07-29 22:25:49 +02:00
Dax T. Games
37a223b449
fix lib_path
2020-07-25 05:11:34 -04:00
Dax T. Games
79261d4d27
fix
2020-07-23 13:36:50 -04:00
Dax T. Games
250ae06e7a
fix vscode terminal errors when setting cmder fast_init=1 outside cmder
2020-06-26 22:27:29 -04:00
Dax T. Games
1f5ea5e596
Fix and enhance enhance_path_recursive
2020-04-29 12:03:24 -04:00
Dax T. Games
1af12666e4
move git functions to git lib
2020-04-06 08:46:46 -04:00
Dax T. Games
93f8718489
move git functions to git lib
2020-04-06 08:20:26 -04:00
Dax T. Games
a857d8419c
fixes for cmd:cmder init script
2019-12-04 16:04:16 -05:00
Dax Games
34468ef2fd
cleanup
2019-08-22 06:20:19 -04:00
Dax T. Games
468dba474e
fixes
2019-10-13 15:47:25 -04:00
Dax T. Games
db42252ef2
cleanup
2019-10-13 10:18:04 -04:00
Dax T. Games
377d97e56a
fix path with ! in dir
2019-10-13 10:07:23 -04:00