Skip to content

Commit f6f6781

Browse files
committed
gitignore and doc update
1 parent af23831 commit f6f6781

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.pyc
2+
*~

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
## About
22

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`.
55

66
![Default](img/default.png)
77
![Side-by-side](img/side-by-side.png)
88

9-
## Install
9+
## Installation
1010

1111
Save [src/cdiff.py](https://raw.github.com/ymattw/cdiff/master/src/cdiff.py) to
1212
whatever directory which is in your `$PATH`, for example, `$HOME/bin` is in my

src/cdiff.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

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+
411
import sys
512
import os
613
import re

0 commit comments

Comments
 (0)