[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git patch
From: |
Han-Wen Nienhuys |
Subject: |
Re: git patch |
Date: |
Wed, 06 Dec 2006 10:55:09 +0100 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20061107) |
Johannes Schindelin escreveu:
> The nice thing for me about Git: you never lose anything. Unless you say
> "git prune" (in which case you really should know what you are doing), you
> do not lose (committed) data.
>
> Now, I promised to tell you what to do if all the files seem modified. Did
> you look through "git -p diff"? (BTW with recent Git you only need "git
> diff" and it will pipe the result into your pager automatically.)
This actually bothers me as well from a UI point of view. Git-diff is
used both for generating diffs between versions that come from git and
the working tree/index.
I think it would be more logical to show those diffs as part of
git-status and perhaps git-commit, eg.
git-commit --dry-run <commitoptions>
shows the diff of what would be committed
git-status --diff
shows diffs of modified files in the working tree.
This makes it more clear what each diff means.
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
- git patch, Graham Percival, 2006/12/04
- Re: git patch, Han-Wen Nienhuys, 2006/12/04
- Re: git patch, Graham Percival, 2006/12/05
- Re: git patch, Johannes Schindelin, 2006/12/05
- Re: git patch, Graham Percival, 2006/12/05
- Re: git patch, Johannes Schindelin, 2006/12/05
- Re: git patch, Graham Percival, 2006/12/06
- Re: git patch, Johannes Schindelin, 2006/12/06
- Re: git patch,
Han-Wen Nienhuys <=
- Re: git patch, Johannes Schindelin, 2006/12/06
- Re: git patch, Han-Wen Nienhuys, 2006/12/06
- Re: git patch, Johannes Schindelin, 2006/12/06
- Re: git patch, Han-Wen Nienhuys, 2006/12/06
- Re: git patch, Johannes Schindelin, 2006/12/06
- Re: git patch, Jakub Narebski, 2006/12/06
- Re: git patch, Mats Bengtsson, 2006/12/06
- Re: git patch, Johannes Schindelin, 2006/12/06
- Re: git patch, Werner LEMBERG, 2006/12/06
Re: git patch, Mats Bengtsson, 2006/12/05