On 1/7/08, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote: > Hi, > > On Mon, 7 Jan 2008, Ciprian Dorin Craciun wrote: > > > -- either define an alias -- but usually it is very restrictive in > > terms of what the alias can do; > > You probably missed the possibility of executing a shell command (or > commands) viathe "!" prefix. > > See also > > http://git.or.cz/gitwiki/Aliases/ > > Hth, > Dscho I knew about the "!" prefix but this allows me to write only a one-line script... But in the case I want more complex scripts? (Just look at how hard it is to read the "Getting the diff of only one function" example...) (Yes I could create a script, place it in a special folder and add an alias to it -- remembering to put the right path... But it is not as simple as adding it to the bin directory.) Ciprian. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html