File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change
1
+ * .pyc
2
+ * ~
Original file line number Diff line number Diff line change 1
1
## About
2
2
3
- View ** colored** diff in unified-diff format or ** side-by-side** with ** auto
4
- pager** . Requires Python (>= 2.5.0) and ` less ` .
3
+ View ** colored** diff in unified-diff format or ** side-by-side** mode with
4
+ ** auto pager** . Requires Python (>= 2.5.0) and ` less ` .
5
5
6
6
![ Default] ( img/default.png )
7
7
![ Side-by-side] ( img/side-by-side.png )
8
8
9
- ## Install
9
+ ## Installation
10
10
11
11
Save [ src/cdiff.py] ( https://raw.github.com/ymattw/cdiff/master/src/cdiff.py ) to
12
12
whatever directory which is in your ` $PATH ` , for example, ` $HOME/bin ` is in my
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
# -*- coding: utf-8 -*-
3
3
4
+ """
5
+ View colored diff in unified-diff format or side-by-side mode with auto pager.
6
+ Requires Python (>= 2.5.0) and less.
7
+
8
+ See demo at homepage: https://github.com/ymattw/cdiff
9
+ """
10
+
4
11
import sys
5
12
import os
6
13
import re
You can’t perform that action at this time.
0 commit comments