use git-stash instead of fake commit

This commit is contained in:
psyc://psyced.org/~lynX 2010-02-24 09:02:54 +01:00
parent 1b4463b2a4
commit 19aab6b349
3 changed files with 17 additions and 6 deletions

View File

@ -378,6 +378,7 @@ ________________________________________________________________________
- parse.i erlaubt es den begrüßungspunkt wegzulassen wenn man
stattdessen ne leerzeile liefert. aua -- egal, wir wechseln auf spyc
- auch derb, er akzeptiert ".xx" statt "."
- /silence conversation doesn't filter /action
@ -3996,6 +3997,12 @@ person, user
usercmd
+ /forceenter only exists temporarily to circumvent a bug
- immediately show presence of a newly acquired friend, thx tg
http/fetch
+ POST support
new: http/oauth
userthreads, threads, accept etc
+ experimental microblogging on your web profile, thx tg
#define _flag_enable_module_microblogging
+ twitter submit
+ signatures

View File

@ -459,11 +459,11 @@ then
# echo "and finally 'git merge -s resolve origin' instead"
# exit 1
# echo "${hi}ATTENTION: ${lo}Please give an empty password to log in (-> press enter)"
## (cd $sandbox/.. && cvs login && cvs -q update -dP && cvs logout)
## (cd $base && cvs login && cvs -q update -dP && cvs logout)
echo ""
echo "Fetching update from public git repository..."
echo ""
(cd $sandbox/.. && git fetch origin)
(cd $base && git fetch origin)
echo ""
echo "You can now read the changes using ${hi}\$0 -d${lo}"
echo "or activate the changes using ${hi}\$0 -m${lo}"
@ -496,11 +496,15 @@ fi
if test "\$1" = "-m"
then
# git is seriously unsuited for this job. we need to "check in" the changes
# to file permissions etc or otherwise we can't update things at all...
(cd $base && git commit -a -m 'automatic by psyced -m')
# # git is seriously unsuited for this job. we need to "check in" the changes
# # to file permissions etc or otherwise we can't update things at all...
# (cd $base && git commit -a -m 'automatic by psyced -m')
# stash local changes
(cd $base && git stash)
# merging will of course fail.. sigh
(cd $base && git merge -s resolve origin)
# restore local changes
(cd $base && git stash apply)
exit
fi

View File

@ -1,6 +1,6 @@
/* twitter client
*
* - register @ http://twitter.com/apps
* - register @ https://twitter.com/apps
* - settings:
* - app name: e.g. psyc://your.host/
* - app type: browser