Browse files

Modify pretty format separator

  • Loading branch information...
1 parent 7f10dbd commit 99880fd75d8ea64618b1e66231476704f272bcd6 @kmnk committed May 14, 2013
Showing with 3 additions and 3 deletions.
  1. +2 −2 autoload/giti/log.vim
  2. +1 −1 test/autoload/giti/test_log.vim
View
4 autoload/giti/log.vim
@@ -10,7 +10,7 @@ set cpo&vim
if !exists('g:giti_log_default_line_count')
let g:giti_log_default_line_count = 50
endif
-let s:pretty_format = "::%H::%P::%an<%ae>[%ad]::%cn<%ce>[%cd]::%s"
+let s:pretty_format = ":::%H:::%P:::%an<%ae>[%ad]:::%cn<%ce>[%cd]:::%s"
" }}}
function! giti#log#run(...)"{{{
@@ -53,7 +53,7 @@ function! s:get_list(param)"{{{
endfunction"}}}
function! s:build_log_data(line)"{{{
- let splited = split(a:line, '::')
+ let splited = split(a:line, ':::')
if 1 == len(splited)
return {
View
2 test/autoload/giti/test_log.vim
@@ -33,7 +33,7 @@ endfunction"}}}
function! s:tc.setup_list()"{{{
function! giti#system(command)"{{{
let b:system_called_with = a:command
- return '* | | ::aaaa::bbbb::cccc<cc@cc.cc>[cc/cc/cc cc:cc:cc]::dddd<dd@dd.dd>[dd/dd/dd dd:dd:dd]::eeee'
+ return '* | | :::aaaa:::bbbb:::cccc<cc@cc.cc>[cc/cc/cc cc:cc:cc]:::dddd<dd@dd.dd>[dd/dd/dd dd:dd:dd]:::eeee'
endfunction"}}}
endfunction
function! s:tc.teardown_list()"{{{

0 comments on commit 99880fd

Please sign in to comment.