Yes, I realized you seem to be right and nobody told me (I learnt git on my
own), but in git, you can run git add --interactive (and it allows you to
selectively work with each uncommitted add you did) and there is also git
add --edit, which allows you to directly edit the unified patch in your
favorite text editor (the one that will be stored in the commit).

Seems REALLY powerful, but need to play more with it. As a side note, one
of the reasons I dislike git is because the commands don't do (do as in
never) what their name imply, and some are hidden as subcommands inside
commands that are meant for other purposes. Fossil should keep away from
that road of uncertainty.

On Thu, Mar 19, 2015 at 8:28 PM, Andreas Kupries <andre...@activestate.com>
wrote:

> On Thu, Mar 19, 2015 at 5:14 PM, Richard Hipp <d...@sqlite.org> wrote:
> > On 3/19/15, Abilio Marques <abili...@gmail.com> wrote:
> >>
> >>  Most of the friends I've shown fossil to love the idea of having SCM,
> wiki
> >> and tickets in the same, tiny place. Looks promising for them... but
> then
> >> they miss the git staging area.
> >>
> >
> > Fossil does give you the ability to do a partial commit  (in case you
> > are really want to commit changes that you have not tested).  Just
> > list the subset of files you want to commit on the commit
> > command-line:
> >
> >       fossil commit one.txt two.txt dir-three/
> >
> > If you include directories in the list, then all modified files
> > underneath those directories are committed.
> >
> > Does the git staging area provide any capability beyond this?
>
>
> AFAIK with git staging you can select specific changes in a single
> file as well, to commit only a sub-set of changes in that file.
>
>
> --
> Andreas Kupries
> Senior Tcl Developer
> Code to Cloud: Smarter, Safer, Faster™
> F: 778.786.1133
> andre...@activestate.com, http://www.activestate.com
> Learn about Stackato for Private PaaS: http://www.activestate.com/stackato
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to