Re: Odd instructions for Git?



2009/4/4 Claude Paroz <claude 2xlibre net>:
> No, commits should always contain all files containing logically related
> modifications. Committing the Makefile.am modification without the
> corresponding po has no sense. In your example, I would commit it as:
> git commit Makefile.am LL.po LL/figures/*.png
> Then an editor will appear, and the commit message should contain one
> short description line, and possibly a longer description on a second
> paragraph:
>
> Added LL help translation
>
> LL added to DOC_LINGUAS, screenshots added in figures, ...
>
> However, in this case I think the short description is enough. People
> aren't stupid and they can easily figure out what happened and why files
> has been added/modified through consulting the logs/diffs.
>

Yes, a commit must always be atomic (and so be easy to review or
revert) and it's true for any VCS/DVCS able to handle changeset (SVN,
git, hg, bzr, monotone, etc).

Simos, please, could you revert this part in the wiki?

Stéphane


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]