Changeset 215615 in webkit
- Timestamp:
- Apr 21, 2017, 10:26:14 AM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/commit-log-editor (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r215608 r215615 1 2017-04-20 Conrad Shultz <conrad_shultz@apple.com> 2 3 commit-log-editor should respect the git editor if one is set 4 https://bugs.webkit.org/show_bug.cgi?id=171085 5 <rdar://problem/31745506> 6 7 Reviewed by Daniel Bates. 8 9 * Scripts/commit-log-editor: 10 If Git is available, consider GIT_LOG_EDITOR and any global Git editor preference when 11 deciding which editor to present. We examine the global editor preference since that may be 12 set automatically by installers or third-party tools. 13 1 14 2017-04-21 Alex Christensen <achristensen@webkit.org> 2 15 -
trunk/Tools/Scripts/commit-log-editor
r178686 r215615 91 91 my $baseDir = baseProductDir(); 92 92 93 my $editor = $ENV{SVN_LOG_EDITOR}; 93 my $editor; 94 if (isGit()) { 95 $editor = $ENV{GIT_LOG_EDITOR}; 96 $editor = `git config --global --get core.editor` if !$editor; 97 } 98 99 $editor = $ENV{SVN_LOG_EDITOR} if !$editor; 94 100 $editor = $ENV{CVS_LOG_EDITOR} if !$editor; 95 101 $editor = "" if $editor && isCommitLogEditor($editor);
Note:
See TracChangeset
for help on using the changeset viewer.