Re: [PATCH/RFC] git-remote-mediawiki: new tool to preview local changes without pushing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Benoît Person <benoit.person@xxxxxxxxxx> writes:

> On 9 June 2013 08:08, Jeff King <peff@xxxxxxxx> wrote:
>> I also wonder if it would be useful to be able to specify not only files
>> in the filesystem, but also arbitrary blobs. So in 4b above, you could
>> "git mw preview origin:page.mw" to see the rendered version of what
>> upstream has done.
>
> Hum, so `git mw preview origin:page.mw` would just do the get
> request to the remote mediawiki, save it locally and - maybe - load it
> in the browser ? Is it really better than just opening the browser and
> typing the right URL ?
>
> Currently, this URL is one click away when you have preview file loaded
> in a web browser.

origin:page.mw is not necessarily the best example, but HEAD^:page.mw
can exist in your local history and not on the wiki. Even HEAD:page.mw
can be interesting if you have uncommited changes. Not that it's
terribly useful to be able to preview it, but once you can deal with
local files, it should be easy enough to generalize it to any blob.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]