What is the format of clink_history? #229
-
I constantly get sync conflicts when I use a shared Cmder on two different computers, and I'd like to be able to merge the clink_history files, but I don't understand the format. Lines like
become
While lines like
become
What does the pipe mean? Why does it appear and disappear over time? If I just keep the unpiped versions from each conflicted file, will it break anything? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
If you are seeing lines "lose" a pipe character at the beginning, then that is probably a result of the sync conflicts. There's certainly not anything Clink ever does that can make a pipe character disappear (apart from deleting the entire line, when compacting the history file). |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
|CTAG
) is important for preventing corruption.|
.|
) and removing old lines until the total number of lines is within thehistory.max_lines
limit.If you are seeing lines "lose" a pipe character at the beginning, then that is probably a result of the sync conflicts. There's certainly not anything Clink ever does that can make a pipe character disappear (apart from deleting the entire line, when compacting the history file).