On 3/19/15, 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.

*That* would be neat to have -- I've heard of it in git, but not
explored it. The next time that I end up w/ two logical ideas commited
w/ a single checkin won't be the first. Currently, if it's important
enough for me, what I do is [stash] the commit, generate a diff and
then selectively apply that diff in the appropriate number of steps,
committing ea. logical idea at a time.

Otherwise, re: staging area vs. fossil commit, it seems it's just a
matter of default include vs default deny as far as what gets
committed. One thing that would alleviate miscommitted collections of
files (or miscommitted anything) is the ability to [pop] off a branch
tip...


-bch



>
> --
> Andreas Kupries
> Senior Tcl Developer
> Code to Cloud: Smarter, Safer, Faster(tm)
> 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