[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
About commit style
From: |
Xue Fuqiao |
Subject: |
About commit style |
Date: |
Sat, 6 Apr 2013 16:13:08 +0800 |
In admin/notes/commits:
Each commit should correspond to a single change (whether spread over
multiple files or not). Do not mix different changes in the same
commit (eg adding a feature in one file, fixing a bug in another
should be two commits, not one).
Can I mix changes in _one_ file? (E.g., adding a feature in one file,
fixing a bug in the same file) When I want to add a feature in a file,
I often find bugs in the same file. It is convenient and natural to fix
them without extra trouble, I think.
--
Xue Fuqiao
http://www.gnu.org/software/emacs/